{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication/TrumpRussia_PoP_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}27 Feb 2019, 13:51:37

{com}. do "/var/folders/dh/pymyjfp50r5536wsy_7pcbjh0000gp/T//SD01229.000000"
{txt}
{com}. ************************************
. ***** Perspectives on Politics *****
. ****** Trump/Russia Analysis *******
. ************************************
. 
. 
. cd "/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"
{res}/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication
{txt}
{com}. 
. set more off
{txt}
{com}. 
. graph set window fontface "Times"
{txt}
{com}. 
. use "Portal 2 - Russia.dta", clear
{txt}( )

{com}. 
. xtset wave
{txt}{col 8}panel variable:  {res}wave (balanced)
{txt}
{com}. 
. 
. *** Create margins-friendly labels ***
. label var russia "Trump-Russia scandal news exposure"
{txt}
{com}. label define russia 0"Less" 1"More"
{txt}
{com}. label value russia russia
{txt}
{com}. 
. 
. *******************************
. ****** Diagnostic tests *******
. *******************************
. 
. ** Hausman test: Random or fixed effects? **
. xtreg trump_job_appr_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     2,839
{txt}Group variable: {res}wave{txt}{col 49}Number of groups{col 67}={col 69}{res}         2

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.4820{col 63}{txt}min{col 67}={col 69}{res}     1,122
{txt}     between = {res}1.0000{col 63}{txt}avg{col 67}={col 69}{res}   1,419.5
{txt}     overall = {res}0.4820{col 63}{txt}max{col 67}={col 69}{res}     1,717

{txt}{col 49}F({res}9{txt},{res}2828{txt}){col 67}={col 70}{res}   292.33
{txt}corr(u_i, Xb){col 16}= {res}0.0113{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               trump_job_appr_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      t{col 69}   P>|t|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0536457{col 49}{space 2} .0165434{col 60}{space 1}    3.24{col 69}{space 3}0.001{col 77}{space 4} .0212074{col 90}{space 3} .0860841
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}  .438019{col 49}{space 2} .0178834{col 60}{space 1}   24.49{col 69}{space 3}0.000{col 77}{space 4} .4029532{col 90}{space 3} .4730847
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0762992{col 49}{space 2} .0250725{col 60}{space 1}   -3.04{col 69}{space 3}0.002{col 77}{space 4}-.1254614{col 90}{space 3} -.027137
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1843731{col 49}{space 2}  .015572{col 60}{space 1}  -11.84{col 69}{space 3}0.000{col 77}{space 4}-.2149068{col 90}{space 3}-.1538394
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0451493{col 49}{space 2} .0219952{col 60}{space 1}   -2.05{col 69}{space 3}0.040{col 77}{space 4}-.0882776{col 90}{space 3} -.002021
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0091096{col 49}{space 2} .0094345{col 60}{space 1}    0.97{col 69}{space 3}0.334{col 77}{space 4}-.0093895{col 90}{space 3} .0276087
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0053037{col 49}{space 2} .0094348{col 60}{space 1}    0.56{col 69}{space 3}0.574{col 77}{space 4}-.0131961{col 90}{space 3} .0238035
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0006601{col 49}{space 2} .0094487{col 60}{space 1}    0.07{col 69}{space 3}0.944{col 77}{space 4}-.0178669{col 90}{space 3} .0191872
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0016445{col 49}{space 2} .0094372{col 60}{space 1}    0.17{col 69}{space 3}0.862{col 77}{space 4}  -.01686{col 90}{space 3} .0201489
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2480648{col 49}{space 2} .0151321{col 60}{space 1}   16.39{col 69}{space 3}0.000{col 77}{space 4} .2183937{col 90}{space 3} .2777359
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}  .0037709
                            {txt}sigma_e {c |} {res}  .2510926
                                {txt}rho {c |} {res} .00022549{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}
F test that all u_i=0: F({res}1{txt}, {res}2828{txt}) = {res}0.31{col 62}{txt}Prob > F = {res}0.5802
{txt}
{com}. estimates store fixed
{txt}
{com}. 
. xtreg trump_job_appr_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn, re
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,839
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4820                                         {txt}min = {res}     1,122
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,419.5
{txt}     overall = {res}0.4820                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2632.59
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               trump_job_appr_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0536652{col 49}{space 2} .0165413{col 60}{space 1}    3.24{col 69}{space 3}0.001{col 77}{space 4} .0212448{col 90}{space 3} .0860856
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}  .438157{col 49}{space 2} .0178794{col 60}{space 1}   24.51{col 69}{space 3}0.000{col 77}{space 4}  .403114{col 90}{space 3} .4732001
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0764133{col 49}{space 2} .0250686{col 60}{space 1}   -3.05{col 69}{space 3}0.002{col 77}{space 4}-.1255467{col 90}{space 3}-.0272798
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1843854{col 49}{space 2} .0155701{col 60}{space 1}  -11.84{col 69}{space 3}0.000{col 77}{space 4}-.2149022{col 90}{space 3}-.1538685
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0451024{col 49}{space 2} .0219924{col 60}{space 1}   -2.05{col 69}{space 3}0.040{col 77}{space 4}-.0882066{col 90}{space 3}-.0019982
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0091599{col 49}{space 2} .0094329{col 60}{space 1}    0.97{col 69}{space 3}0.332{col 77}{space 4}-.0093282{col 90}{space 3}  .027648
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0052648{col 49}{space 2} .0094334{col 60}{space 1}    0.56{col 69}{space 3}0.577{col 77}{space 4}-.0132243{col 90}{space 3} .0237539
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0006866{col 49}{space 2} .0094474{col 60}{space 1}    0.07{col 69}{space 3}0.942{col 77}{space 4}  -.01783{col 90}{space 3} .0192032
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0016717{col 49}{space 2} .0094359{col 60}{space 1}    0.18{col 69}{space 3}0.859{col 77}{space 4}-.0168223{col 90}{space 3} .0201657
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2479983{col 49}{space 2} .0151298{col 60}{space 1}   16.39{col 69}{space 3}0.000{col 77}{space 4} .2183445{col 90}{space 3} .2776522
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res}  .2510926
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. estimates store random
{txt}
{com}. 
. hausman fixed random

{txt}{col 18}{hline 4} Coefficients {hline 4}
{col 14}{c |}{col 21}(b){col 34}(B){col 49}(b-B){col 59}sqrt(diag(V_b-V_B))
{col 14}{c |}{col 17}   fixed    {col 30}   random   {col 46}Difference{col 66}S.E.
{hline 13}{c +}{hline 64}
{space 4}1.russia {c |}{res}{col 18} .0536457{col 31} .0536652{col 47}-.0000194{col 63} .0002615
{txt}{space 3}1.Rep_dum {c |}{res}{col 18}  .438019{col 31}  .438157{col 47} -.000138{col 63} .0003752
{txt}{space 6}russia#{c |}
{space 5}Rep_dum {c |}
{space 8}1 1  {c |}{res}{col 18}-.0762992{col 31}-.0764133{col 47} .0001141{col 63} .0004436
{txt}{space 3}1.Dem_dum {c |}{res}{col 18}-.1843731{col 31}-.1843854{col 47} .0000123{col 63} .0002449
{txt}{space 6}russia#{c |}
{space 5}Dem_dum {c |}
{space 8}1 1  {c |}{res}{col 18}-.0451493{col 31}-.0451024{col 47}-.0000469{col 63} .0003548
{txt}1.immigrat~n {c |}{res}{col 18} .0091096{col 31} .0091599{col 47}-.0000503{col 63} .0001735
{txt}1.intraparty {c |}{res}{col 18} .0053037{col 31} .0052648{col 47} .0000389{col 63} .0001637
{txt}{space 1}1.factcheck {c |}{res}{col 18} .0006601{col 31} .0006866{col 47}-.0000265{col 63} .0001555
{txt}1.defenseO~n {c |}{res}{col 18} .0016445{col 31} .0016717{col 47}-.0000272{col 63} .0001558
{txt}{hline 13}{c BT}{hline 64}
{ralign 78:b = consistent under Ho and Ha; obtained from xtreg}
{ralign 78:B = inconsistent under Ha, efficient under Ho; obtained from xtreg}

    Test:  Ho:  difference in coefficients not systematic

{ralign 25:chi2({res:9})} = (b-B)'[(V_b-V_B)^(-1)](b-B)
{col 27}=  {res}      0.21
{txt}{col 17}Prob>chi2 =  {res}    1.0000
{txt}
{com}. 
. 
. 
. ********************************
. **** Table A1: Trump overall ****
. ********************************
. 
. * Column 1: effects on Trump job approval *
. xtreg trump_job_appr_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,839
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4820                                         {txt}min = {res}     1,122
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,419.5
{txt}     overall = {res}0.4820                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2632.59
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               trump_job_appr_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0536652{col 49}{space 2} .0165413{col 60}{space 1}    3.24{col 69}{space 3}0.001{col 77}{space 4} .0212448{col 90}{space 3} .0860856
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}  .438157{col 49}{space 2} .0178794{col 60}{space 1}   24.51{col 69}{space 3}0.000{col 77}{space 4}  .403114{col 90}{space 3} .4732001
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0764133{col 49}{space 2} .0250686{col 60}{space 1}   -3.05{col 69}{space 3}0.002{col 77}{space 4}-.1255467{col 90}{space 3}-.0272798
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1843854{col 49}{space 2} .0155701{col 60}{space 1}  -11.84{col 69}{space 3}0.000{col 77}{space 4}-.2149022{col 90}{space 3}-.1538685
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0451024{col 49}{space 2} .0219924{col 60}{space 1}   -2.05{col 69}{space 3}0.040{col 77}{space 4}-.0882066{col 90}{space 3}-.0019982
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0091599{col 49}{space 2} .0094329{col 60}{space 1}    0.97{col 69}{space 3}0.332{col 77}{space 4}-.0093282{col 90}{space 3}  .027648
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0052648{col 49}{space 2} .0094334{col 60}{space 1}    0.56{col 69}{space 3}0.577{col 77}{space 4}-.0132243{col 90}{space 3} .0237539
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0006866{col 49}{space 2} .0094474{col 60}{space 1}    0.07{col 69}{space 3}0.942{col 77}{space 4}  -.01783{col 90}{space 3} .0192032
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0016717{col 49}{space 2} .0094359{col 60}{space 1}    0.18{col 69}{space 3}0.859{col 77}{space 4}-.0168223{col 90}{space 3} .0201657
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2479983{col 49}{space 2} .0151298{col 60}{space 1}   16.39{col 69}{space 3}0.000{col 77}{space 4} .2183445{col 90}{space 3} .2776522
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res}  .2510926
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. estimates store T1C1
{txt}
{com}. 
. margins, by(russia) at (Rep_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,839
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .6143725{col 26}{space 2} .0150151{col 37}{space 1}   40.92{col 46}{space 3}0.000{col 54}{space 4} .5849435{col 67}{space 3} .6438016
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .5767875{col 26}{space 2} .0147035{col 37}{space 1}   39.23{col 46}{space 3}0.000{col 54}{space 4} .5479691{col 67}{space 3} .6056059
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("") /*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Trump job approval (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "Trump_Rep_Approval.gph", replace
{txt}(note: file Trump_Rep_Approval.gph not found)
{res}{txt}(file Trump_Rep_Approval.gph saved)

{com}. graph export "Trump_Rep_Approval.png", replace
{txt}(file Trump_Rep_Approval.png written in PNG format)

{com}. pwcompare i.russia##i.Rep_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0070927{col 57}{space 2}  .011878{col 68}{space 1}   -0.60{col 77}{space 3}0.550{col 85}{space 4}-.0303731{col 98}{space 3} .0161878
{txt}{space 43} {c |}
{space 36}Rep_dum {c |}
{space 16}Republican vs Dem. or Ind.  {c |}{col 45}{res}{space 2} .3999504{col 57}{space 2} .0125353{col 68}{space 1}   31.91{col 77}{space 3}0.000{col 85}{space 4} .3753817{col 98}{space 3} .4245191
{txt}{space 43} {c |}
{space 29}russia#Rep_dum {c |}
{space 2}(Less#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2}  .438157{col 57}{space 2} .0178794{col 68}{space 1}   24.51{col 77}{space 3}0.000{col 85}{space 4}  .403114{col 98}{space 3} .4732001
{txt}(More#Dem. or Ind.) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2}  .031114{col 57}{space 2} .0109907{col 68}{space 1}    2.83{col 77}{space 3}0.005{col 85}{space 4} .0095726{col 98}{space 3} .0526553
{txt}{space 2}(More#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3928577{col 57}{space 2} .0171941{col 68}{space 1}   22.85{col 77}{space 3}0.000{col 85}{space 4} .3591578{col 98}{space 3} .4265576
{txt}{space 2}(More#Dem. or Ind.) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.4070431{col 57}{space 2} .0173437{col 68}{space 1}  -23.47{col 77}{space 3}0.000{col 85}{space 4} -.441036{col 98}{space 3}-.3730501
{txt}{space 4}(More#Republican) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.0452993{col 57}{space 2} .0218081{col 68}{space 1}   -2.08{col 77}{space 3}0.038{col 85}{space 4}-.0880425{col 98}{space 3}-.0025561
{txt}{space 2}(More#Republican) vs (More#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3617438{col 57}{space 2}  .017573{col 68}{space 1}   20.59{col 77}{space 3}0.000{col 85}{space 4} .3273014{col 98}{space 3} .3961862
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. margins, by(russia) at (Dem_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,839
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .1803876{col 26}{space 2} .0110454{col 37}{space 1}   16.33{col 46}{space 3}0.000{col 54}{space 4}  .158739{col 67}{space 3} .2020362
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .1724161{col 26}{space 2} .0112842{col 37}{space 1}   15.28{col 46}{space 3}0.000{col 54}{space 4} .1502996{col 67}{space 3} .1945327
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("") /*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Trump job approval (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "Trump_Dem_Approval.gph", replace
{txt}(note: file Trump_Dem_Approval.gph not found)
{res}{txt}(file Trump_Dem_Approval.gph saved)

{com}. graph export "Trump_Dem_Approval.png", replace
{txt}(file Trump_Dem_Approval.png written in PNG format)

{com}. pwcompare i.russia##i.Dem_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0070927{col 57}{space 2}  .011878{col 68}{space 1}   -0.60{col 77}{space 3}0.550{col 85}{space 4}-.0303731{col 98}{space 3} .0161878
{txt}{space 43} {c |}
{space 36}Dem_dum {c |}
{space 18}Democrat vs Rep. or Ind.  {c |}{col 45}{res}{space 2}-.2069366{col 57}{space 2} .0110013{col 68}{space 1}  -18.81{col 77}{space 3}0.000{col 85}{space 4}-.2284987{col 98}{space 3}-.1853745
{txt}{space 43} {c |}
{space 29}russia#Dem_dum {c |}
{space 4}(Less#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.1843854{col 57}{space 2} .0155701{col 68}{space 1}  -11.84{col 77}{space 3}0.000{col 85}{space 4}-.2149022{col 98}{space 3}-.1538685
{txt}(More#Rep. or Ind.) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2} .0154585{col 57}{space 2} .0125269{col 68}{space 1}    1.23{col 77}{space 3}0.217{col 85}{space 4}-.0090938{col 98}{space 3} .0400109
{txt}{space 4}(More#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.2140293{col 57}{space 2} .0162664{col 68}{space 1}  -13.16{col 77}{space 3}0.000{col 85}{space 4}-.2459109{col 98}{space 3}-.1821476
{txt}{space 4}(More#Rep. or Ind.) vs (Less#Democrat)  {c |}{col 45}{res}{space 2} .1998439{col 57}{space 2} .0161131{col 68}{space 1}   12.40{col 77}{space 3}0.000{col 85}{space 4} .1682627{col 98}{space 3} .2314251
{txt}{space 8}(More#Democrat) vs (Less#Democrat)  {c |}{col 45}{res}{space 2}-.0296439{col 57}{space 2} .0191594{col 68}{space 1}   -1.55{col 77}{space 3}0.122{col 85}{space 4}-.0671956{col 98}{space 3} .0079078
{txt}{space 4}(More#Democrat) vs (More#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.2294878{col 57}{space 2}  .015539{col 68}{space 1}  -14.77{col 77}{space 3}0.000{col 85}{space 4}-.2599437{col 98}{space 3}-.1990319
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using "Output/TA1_trump_overall_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA1_trump_overall_party.doc"'"':Output/TA1_trump_overall_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA1_trump_overall_party.txt""':seeout}

{com}. 
. 
. 
. * Column 2: Assessment of consequences of a Trump presidency *
. xtreg trump_overall_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,840
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4423                                         {txt}min = {res}     1,119
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,420.0
{txt}     overall = {res}0.4424                                         {txt}max = {res}     1,721

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2244.96
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                trump_overall_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0506029{col 49}{space 2} .0180237{col 60}{space 1}    2.81{col 69}{space 3}0.005{col 77}{space 4} .0152771{col 90}{space 3} .0859286
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .4370879{col 49}{space 2} .0194696{col 60}{space 1}   22.45{col 69}{space 3}0.000{col 77}{space 4} .3989282{col 90}{space 3} .4752475
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0893768{col 49}{space 2} .0273505{col 60}{space 1}   -3.27{col 69}{space 3}0.001{col 77}{space 4}-.1429829{col 90}{space 3}-.0357707
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1966608{col 49}{space 2}  .016969{col 60}{space 1}  -11.59{col 69}{space 3}0.000{col 77}{space 4}-.2299194{col 90}{space 3}-.1634022
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0463012{col 49}{space 2} .0239678{col 60}{space 1}   -1.93{col 69}{space 3}0.053{col 77}{space 4}-.0932772{col 90}{space 3} .0006747
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0048027{col 49}{space 2} .0102891{col 60}{space 1}   -0.47{col 69}{space 3}0.641{col 77}{space 4} -.024969{col 90}{space 3} .0153636
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0065264{col 49}{space 2} .0102869{col 60}{space 1}    0.63{col 69}{space 3}0.526{col 77}{space 4}-.0136355{col 90}{space 3} .0266884
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0034218{col 49}{space 2} .0103041{col 60}{space 1}   -0.33{col 69}{space 3}0.740{col 77}{space 4}-.0236176{col 90}{space 3} .0167739
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} -.001066{col 49}{space 2} .0102912{col 60}{space 1}   -0.10{col 69}{space 3}0.918{col 77}{space 4}-.0212365{col 90}{space 3} .0191045
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2735726{col 49}{space 2} .0164824{col 60}{space 1}   16.60{col 69}{space 3}0.000{col 77}{space 4} .2412678{col 90}{space 3} .3058775
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .27393108
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. estimates store T1C2
{txt}
{com}. 
. margins, by(russia) at (Rep_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,840
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .6241619{col 26}{space 2} .0163478{col 37}{space 1}   38.18{col 46}{space 3}0.000{col 54}{space 4} .5921207{col 67}{space 3} .6562031
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .5695557{col 26}{space 2} .0161029{col 37}{space 1}   35.37{col 46}{space 3}0.000{col 54}{space 4} .5379947{col 67}{space 3} .6011168
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("") /*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Consequences of Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "Trump_Rep_Consequences.gph", replace
{txt}(note: file Trump_Rep_Consequences.gph not found)
{res}{txt}(file Trump_Rep_Consequences.gph saved)

{com}. graph export "Trump_Rep_Consequences.png", replace
{txt}(file Trump_Rep_Consequences.png written in PNG format)

{com}. pwcompare i.russia##i.Rep_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0172361{col 57}{space 2} .0129647{col 68}{space 1}   -1.33{col 77}{space 3}0.184{col 85}{space 4}-.0426464{col 98}{space 3} .0081741
{txt}{space 43} {c |}
{space 36}Rep_dum {c |}
{space 16}Republican vs Dem. or Ind.  {c |}{col 45}{res}{space 2} .3923995{col 57}{space 2} .0136782{col 68}{space 1}   28.69{col 77}{space 3}0.000{col 85}{space 4} .3655907{col 98}{space 3} .4192083
{txt}{space 43} {c |}
{space 29}russia#Rep_dum {c |}
{space 2}(Less#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .4370879{col 57}{space 2} .0194696{col 68}{space 1}   22.45{col 77}{space 3}0.000{col 85}{space 4} .3989282{col 98}{space 3} .4752475
{txt}(More#Dem. or Ind.) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .0274523{col 57}{space 2} .0119796{col 68}{space 1}    2.29{col 77}{space 3}0.022{col 85}{space 4} .0039726{col 98}{space 3} .0509319
{txt}{space 2}(More#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3751633{col 57}{space 2} .0187957{col 68}{space 1}   19.96{col 77}{space 3}0.000{col 85}{space 4} .3383245{col 98}{space 3} .4120022
{txt}{space 2}(More#Dem. or Ind.) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.4096356{col 57}{space 2} .0188964{col 68}{space 1}  -21.68{col 77}{space 3}0.000{col 85}{space 4}-.4466719{col 98}{space 3}-.3725993
{txt}{space 4}(More#Republican) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.0619245{col 57}{space 2}  .023805{col 68}{space 1}   -2.60{col 77}{space 3}0.009{col 85}{space 4}-.1085815{col 98}{space 3}-.0152676
{txt}{space 2}(More#Republican) vs (More#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3477111{col 57}{space 2} .0192132{col 68}{space 1}   18.10{col 77}{space 3}0.000{col 85}{space 4} .3100538{col 98}{space 3} .3853683
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. margins, by(russia) at (Dem_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,840
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .1839353{col 26}{space 2} .0120567{col 37}{space 1}   15.26{col 46}{space 3}0.000{col 54}{space 4} .1603045{col 67}{space 3}  .207566
{txt}{space 7}More  {c |}{col 14}{res}{space 2}  .167494{col 26}{space 2}  .012281{col 37}{space 1}   13.64{col 46}{space 3}0.000{col 54}{space 4} .1434237{col 67}{space 3} .1915644
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("") /*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Consequences of Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "Trump_Dem_Consequences.gph", replace
{txt}(note: file Trump_Dem_Consequences.gph not found)
{res}{txt}(file Trump_Dem_Consequences.gph saved)

{com}. graph export "Trump_Dem_Consequences.png", replace
{txt}(file Trump_Dem_Consequences.png written in PNG format)

{com}. pwcompare i.russia##i.Dem_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0172361{col 57}{space 2} .0129647{col 68}{space 1}   -1.33{col 77}{space 3}0.184{col 85}{space 4}-.0426464{col 98}{space 3} .0081741
{txt}{space 43} {c |}
{space 36}Dem_dum {c |}
{space 18}Democrat vs Rep. or Ind.  {c |}{col 45}{res}{space 2}-.2198114{col 57}{space 2} .0119908{col 68}{space 1}  -18.33{col 77}{space 3}0.000{col 85}{space 4}-.2433129{col 98}{space 3}-.1963099
{txt}{space 43} {c |}
{space 29}russia#Dem_dum {c |}
{space 4}(Less#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.1966608{col 57}{space 2}  .016969{col 68}{space 1}  -11.59{col 77}{space 3}0.000{col 85}{space 4}-.2299194{col 98}{space 3}-.1634022
{txt}(More#Rep. or Ind.) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2} .0059145{col 57}{space 2} .0136697{col 68}{space 1}    0.43{col 77}{space 3}0.665{col 85}{space 4}-.0208776{col 98}{space 3} .0327065
{txt}{space 4}(More#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.2370476{col 57}{space 2} .0177326{col 68}{space 1}  -13.37{col 77}{space 3}0.000{col 85}{space 4}-.2718028{col 98}{space 3}-.2022923
{txt}{space 4}(More#Rep. or Ind.) vs (Less#Democrat)  {c |}{col 45}{res}{space 2} .2025753{col 57}{space 2} .0175863{col 68}{space 1}   11.52{col 77}{space 3}0.000{col 85}{space 4} .1681068{col 98}{space 3} .2370437
{txt}{space 8}(More#Democrat) vs (Less#Democrat)  {c |}{col 45}{res}{space 2}-.0403868{col 57}{space 2} .0208933{col 68}{space 1}   -1.93{col 77}{space 3}0.053{col 85}{space 4} -.081337{col 98}{space 3} .0005634
{txt}{space 4}(More#Democrat) vs (More#Rep. or Ind.)  {c |}{col 45}{res}{space 2} -.242962{col 57}{space 2} .0169363{col 68}{space 1}  -14.35{col 77}{space 3}0.000{col 85}{space 4}-.2761566{col 98}{space 3}-.2097675
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using "Output/TA1_trump_overall_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA1_trump_overall_party.doc"'"':Output/TA1_trump_overall_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA1_trump_overall_party.txt""':seeout}

{com}. 
. 
. ** Vertical coefficient plots **
. coefplot (T1C1, label(Trump job approval) msize(small) ciopts(lcolor(black)) mcolor(black)) (T1C2, label(Consequences of a Trump presidency) msize(small) ciopts(lcolor(gray)) mcolor(gray)), vertical /*
>         */ keep(1.Rep_dum 1.Dem_dum) yline(0) title("(a) Baseline opinions (Trump-Russia stories removed)", size(medium)) xlabel(,labsize(medsmall))/*
>         */ yscale(range(-0.5 0.5)) ylabel(-0.5(0.1)0.5) graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) /*
>         */ coeflabels(, interaction (" * ") wrap(20)) legend(cols(1) size(medium) region(lstyle(none)))
{res}{txt}
{com}. 
. graph save "F2a_TrumpAssessVertical.gph", replace
{txt}(note: file F2a_TrumpAssessVertical.gph not found)
{res}{txt}(file F2a_TrumpAssessVertical.gph saved)

{com}. graph export "F2a_TrumpAssessVertical.png", replace
{txt}(file F2a_TrumpAssessVertical.png written in PNG format)

{com}. 
. 
. label drop russia
{txt}
{com}. label define russia 0"Less Trump-Russia scandal" 1"More Trump-Russia scandal"
{txt}
{com}. label value russia russia
{txt}
{com}.         
. coefplot (T1C1, label(Trump job approval) msize(small) ciopts(lcolor(black)) mcolor(black)) (T1C2, label(Consequences of a Trump presidency) msize(small) ciopts(lcolor(gray)) mcolor(gray)), vertical /*
>         */ keep(1.russia#1.Rep_dum 1.russia#1.Dem_dum) yline(0) title("(b) Difference from baseline opinions among those who saw" "more Trump-Russia stories", size(medium)) xlabel(,labsize(medsmall))/*
>         */ yscale(range(-0.2 0.2)) ylabel(-0.2(0.1)0.2) graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) /*
>         */ coeflabels(, interaction (" * ") wrap(20)) legend(cols(1) size(medium) region(lstyle(none)))
{res}{txt}
{com}. 
. graph save "F2b_TrumpAssessVertical.gph", replace
{txt}(note: file F2b_TrumpAssessVertical.gph not found)
{res}{txt}(file F2b_TrumpAssessVertical.gph saved)

{com}. graph export "F2b_TrumpAssessVertical.png", replace
{txt}(file F2b_TrumpAssessVertical.png written in PNG format)

{com}. 
. 
. graph combine "F2a_TrumpAssessVertical.gph" "F2b_TrumpAssessVertical.gph", col(1) row(2) xsize(4) ysize(6) title("Assessments of Trump Performance", size(medlarge)) graphregion(color(white)) plotregion(color(white))
{res}{txt}
{com}. 
. graph save "Figure 2 - Trump assessments.gph", replace
{txt}(note: file Figure 2 - Trump assessments.gph not found)
{res}{txt}(file Figure 2 - Trump assessments.gph saved)

{com}. graph export "Figure 2 - Trump assessments.png", replace
{txt}(file Figure 2 - Trump assessments.png written in PNG format)

{com}. 
. 
. 
. ** Combined marginsplot **
. graph combine "Trump_Rep_Approval.gph" "Trump_Rep_Consequences.gph", col(2) row(1) xsize(6) ysize(3) title("Republicans") graphregion(color(white))
{res}{txt}
{com}. graph save "F3a_Trump_Rep.gph", replace
{txt}(note: file F3a_Trump_Rep.gph not found)
{res}{txt}(file F3a_Trump_Rep.gph saved)

{com}. graph export "F3a_Trump_Rep.png", replace
{txt}(file F3a_Trump_Rep.png written in PNG format)

{com}. 
. graph combine "Trump_Dem_Approval.gph" "Trump_Dem_Consequences.gph", col(2) row(1) xsize(6) ysize(3) title("Democrats") graphregion(color(white))
{res}{txt}
{com}. graph save "F3a_Trump_Dem.gph", replace
{txt}(note: file F3a_Trump_Dem.gph not found)
{res}{txt}(file F3a_Trump_Dem.gph saved)

{com}. graph export "F3a_Trump_Dem.png", replace
{txt}(file F3a_Trump_Dem.png written in PNG format)

{com}. 
. graph combine "F3a_Trump_Rep.gph" "F3a_Trump_Dem.gph", col(1) row(2) graphregion(color(white))
{res}{txt}
{com}. graph save "Figure 3 - Trump assessments.gph", replace
{txt}(note: file Figure 3 - Trump assessments.gph not found)
{res}{txt}(file Figure 3 - Trump assessments.gph saved)

{com}. graph export "Figure 3 - Trump asssessments.png", replace
{txt}(file Figure 3 - Trump asssessments.png written in PNG format)

{com}. 
. 
. 
. *** Create margins-friendly labels ***
. label drop russia
{txt}
{com}. label define russia 0"Less" 1"More"
{txt}
{com}. label value russia russia
{txt}
{com}.         
. 
.         
.         
.         
. 
.         
. ******************************
. **** Table A2: Emotions *******
. ******************************
. 
. ** Emotions index, overall **
. xtreg djt_emotions_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,767
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4521                                         {txt}min = {res}     1,092
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,383.5
{txt}     overall = {res}0.4516                                         {txt}max = {res}     1,675

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2270.22
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                 djt_emotions_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0476885{col 49}{space 2} .0159387{col 60}{space 1}    2.99{col 69}{space 3}0.003{col 77}{space 4} .0164493{col 90}{space 3} .0789278
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .3604424{col 49}{space 2} .0172569{col 60}{space 1}   20.89{col 69}{space 3}0.000{col 77}{space 4} .3266195{col 90}{space 3} .3942653
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0767421{col 49}{space 2}  .024225{col 60}{space 1}   -3.17{col 69}{space 3}0.002{col 77}{space 4}-.1242221{col 90}{space 3} -.029262
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.2030142{col 49}{space 2} .0149433{col 60}{space 1}  -13.59{col 69}{space 3}0.000{col 77}{space 4}-.2323026{col 90}{space 3}-.1737258
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0384846{col 49}{space 2} .0211817{col 60}{space 1}   -1.82{col 69}{space 3}0.069{col 77}{space 4}     -.08{col 90}{space 3} .0030308
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0005034{col 49}{space 2} .0090963{col 60}{space 1}    0.06{col 69}{space 3}0.956{col 77}{space 4}-.0173251{col 90}{space 3} .0183319
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0082241{col 49}{space 2} .0090984{col 60}{space 1}    0.90{col 69}{space 3}0.366{col 77}{space 4}-.0096083{col 90}{space 3} .0260566
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0012133{col 49}{space 2} .0091135{col 60}{space 1}   -0.13{col 69}{space 3}0.894{col 77}{space 4}-.0190754{col 90}{space 3} .0166488
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0024475{col 49}{space 2} .0091013{col 60}{space 1}   -0.27{col 69}{space 3}0.788{col 77}{space 4}-.0202858{col 90}{space 3} .0153908
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3623386{col 49}{space 2} .0145766{col 60}{space 1}   24.86{col 69}{space 3}0.000{col 77}{space 4} .3337689{col 90}{space 3} .3909083
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .23891205
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. estimates store T2C1
{txt}
{com}. 
. outreg2 using "Output/TA2_trump_emotions_index_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA2_trump_emotions_index_party.doc"'"':Output/TA2_trump_emotions_index_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA2_trump_emotions_index_party.txt""':seeout}

{com}. 
. margins, by(russia) at (Rep_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,767
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .6369262{col 26}{space 2} .0145447{col 37}{space 1}   43.79{col 46}{space 3}0.000{col 54}{space 4} .6084191{col 67}{space 3} .6654332
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .5957751{col 26}{space 2} .0142298{col 37}{space 1}   41.87{col 46}{space 3}0.000{col 54}{space 4} .5678853{col 67}{space 3}  .623665
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("")/*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Emotions towards Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "DJT_Rep_AllEmo.gph", replace
{txt}(note: file DJT_Rep_AllEmo.gph not found)
{res}{txt}(file DJT_Rep_AllEmo.gph saved)

{com}. graph export "DJT_Rep_AllEmo.png", replace
{txt}(file DJT_Rep_AllEmo.png written in PNG format)

{com}. pwcompare i.russia##i.Rep_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0099248{col 57}{space 2} .0114778{col 68}{space 1}   -0.86{col 77}{space 3}0.387{col 85}{space 4}-.0324209{col 98}{space 3} .0125713
{txt}{space 43} {c |}
{space 36}Rep_dum {c |}
{space 16}Republican vs Dem. or Ind.  {c |}{col 45}{res}{space 2} .3220714{col 57}{space 2} .0121143{col 68}{space 1}   26.59{col 77}{space 3}0.000{col 85}{space 4} .2983277{col 98}{space 3}  .345815
{txt}{space 43} {c |}
{space 29}russia#Rep_dum {c |}
{space 2}(Less#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3604424{col 57}{space 2} .0172569{col 68}{space 1}   20.89{col 77}{space 3}0.000{col 85}{space 4} .3266195{col 98}{space 3} .3942653
{txt}(More#Dem. or Ind.) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .0284462{col 57}{space 2} .0105865{col 68}{space 1}    2.69{col 77}{space 3}0.007{col 85}{space 4} .0076971{col 98}{space 3} .0491954
{txt}{space 2}(More#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3121466{col 57}{space 2} .0165979{col 68}{space 1}   18.81{col 77}{space 3}0.000{col 85}{space 4} .2796153{col 98}{space 3} .3446778
{txt}{space 2}(More#Dem. or Ind.) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.3319962{col 57}{space 2} .0167781{col 68}{space 1}  -19.79{col 77}{space 3}0.000{col 85}{space 4}-.3648807{col 98}{space 3}-.2991117
{txt}{space 4}(More#Republican) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.0482958{col 57}{space 2}  .021091{col 68}{space 1}   -2.29{col 77}{space 3}0.022{col 85}{space 4}-.0896334{col 98}{space 3}-.0069583
{txt}{space 2}(More#Republican) vs (More#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .2837003{col 57}{space 2} .0170041{col 68}{space 1}   16.68{col 77}{space 3}0.000{col 85}{space 4} .2503729{col 98}{space 3} .3170277
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. margins, by(russia) at (Dem_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,767
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .2497133{col 26}{space 2} .0106004{col 37}{space 1}   23.56{col 46}{space 3}0.000{col 54}{space 4} .2289368{col 67}{space 3} .2704898
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .2429785{col 26}{space 2} .0108789{col 37}{space 1}   22.33{col 46}{space 3}0.000{col 54}{space 4} .2216562{col 67}{space 3} .2643007
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("")/*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Emotions towards Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "DJT_Dem_AllEmo.gph", replace
{txt}(note: file DJT_Dem_AllEmo.gph not found)
{res}{txt}(file DJT_Dem_AllEmo.gph saved)

{com}. graph export "DJT_Dem_AllEmo.png", replace
{txt}(file DJT_Dem_AllEmo.png written in PNG format)

{com}. pwcompare i.russia##i.Dem_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0099248{col 57}{space 2} .0114778{col 68}{space 1}   -0.86{col 77}{space 3}0.387{col 85}{space 4}-.0324209{col 98}{space 3} .0125713
{txt}{space 43} {c |}
{space 36}Dem_dum {c |}
{space 18}Democrat vs Rep. or Ind.  {c |}{col 45}{res}{space 2}-.2222565{col 57}{space 2} .0105951{col 68}{space 1}  -20.98{col 77}{space 3}0.000{col 85}{space 4}-.2430225{col 98}{space 3}-.2014906
{txt}{space 43} {c |}
{space 29}russia#Dem_dum {c |}
{space 4}(Less#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.2030142{col 57}{space 2} .0149433{col 68}{space 1}  -13.59{col 77}{space 3}0.000{col 85}{space 4}-.2323026{col 98}{space 3}-.1737258
{txt}(More#Rep. or Ind.) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2} .0093175{col 57}{space 2} .0121064{col 68}{space 1}    0.77{col 77}{space 3}0.442{col 85}{space 4}-.0144106{col 98}{space 3} .0330456
{txt}{space 4}(More#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.2321813{col 57}{space 2} .0157019{col 68}{space 1}  -14.79{col 77}{space 3}0.000{col 85}{space 4}-.2629564{col 98}{space 3}-.2014063
{txt}{space 4}(More#Rep. or Ind.) vs (Less#Democrat)  {c |}{col 45}{res}{space 2} .2123317{col 57}{space 2} .0155384{col 68}{space 1}   13.66{col 77}{space 3}0.000{col 85}{space 4}  .181877{col 98}{space 3} .2427864
{txt}{space 8}(More#Democrat) vs (Less#Democrat)  {c |}{col 45}{res}{space 2}-.0291671{col 57}{space 2} .0184729{col 68}{space 1}   -1.58{col 77}{space 3}0.114{col 85}{space 4}-.0653733{col 98}{space 3} .0070391
{txt}{space 4}(More#Democrat) vs (More#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.2414988{col 57}{space 2}  .015018{col 68}{space 1}  -16.08{col 77}{space 3}0.000{col 85}{space 4}-.2709336{col 98}{space 3}-.2120641
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. * Russia weakens positive emotions for Trump among Republicans *
. xtreg djt_pos_emo_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,805
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4465                                         {txt}min = {res}     1,106
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,402.5
{txt}     overall = {res}0.4466                                         {txt}max = {res}     1,699

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2255.77
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  djt_pos_emo_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0608993{col 49}{space 2} .0167158{col 60}{space 1}    3.64{col 69}{space 3}0.000{col 77}{space 4} .0281368{col 90}{space 3} .0936617
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .4525379{col 49}{space 2} .0180857{col 60}{space 1}   25.02{col 69}{space 3}0.000{col 77}{space 4} .4170907{col 90}{space 3} .4879852
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.1088297{col 49}{space 2} .0253845{col 60}{space 1}   -4.29{col 69}{space 3}0.000{col 77}{space 4}-.1585825{col 90}{space 3} -.059077
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1427592{col 49}{space 2} .0157093{col 60}{space 1}   -9.09{col 69}{space 3}0.000{col 77}{space 4}-.1735487{col 90}{space 3}-.1119696
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}  -.05085{col 49}{space 2} .0222306{col 60}{space 1}   -2.29{col 69}{space 3}0.022{col 77}{space 4}-.0944213{col 90}{space 3}-.0072788
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0003569{col 49}{space 2} .0095423{col 60}{space 1}    0.04{col 69}{space 3}0.970{col 77}{space 4}-.0183457{col 90}{space 3} .0190596
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0025413{col 49}{space 2} .0095433{col 60}{space 1}    0.27{col 69}{space 3}0.790{col 77}{space 4}-.0161632{col 90}{space 3} .0212459
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0059941{col 49}{space 2} .0095606{col 60}{space 1}   -0.63{col 69}{space 3}0.531{col 77}{space 4}-.0247325{col 90}{space 3} .0127442
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0013325{col 49}{space 2} .0095463{col 60}{space 1}    0.14{col 69}{space 3}0.889{col 77}{space 4}-.0173778{col 90}{space 3} .0200429
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2107245{col 49}{space 2} .0153044{col 60}{space 1}   13.77{col 69}{space 3}0.000{col 77}{space 4} .1807284{col 90}{space 3} .2407207
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .25251922
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. estimates store T2C2
{txt}
{com}. 
. margins, by(russia) at (Rep_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,805
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .6003592{col 26}{space 2}  .015215{col 37}{space 1}   39.46{col 46}{space 3}0.000{col 54}{space 4} .5705383{col 67}{space 3} .6301801
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .5341953{col 26}{space 2} .0149115{col 37}{space 1}   35.82{col 46}{space 3}0.000{col 54}{space 4} .5049692{col 67}{space 3} .5634214
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("")/*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Positive emotions towards Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "DJT_Rep_PosEmo.gph", replace
{txt}(note: file DJT_Rep_PosEmo.gph not found)
{res}{txt}(file DJT_Rep_PosEmo.gph saved)

{com}. graph export "DJT_Rep_PosEmo.png", replace
{txt}(file DJT_Rep_PosEmo.png written in PNG format)

{com}. pwcompare i.russia##i.Rep_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0189406{col 57}{space 2} .0120325{col 68}{space 1}   -1.57{col 77}{space 3}0.115{col 85}{space 4}-.0425239{col 98}{space 3} .0046427
{txt}{space 43} {c |}
{space 36}Rep_dum {c |}
{space 16}Republican vs Dem. or Ind.  {c |}{col 45}{res}{space 2}  .398123{col 57}{space 2} .0126919{col 68}{space 1}   31.37{col 77}{space 3}0.000{col 85}{space 4} .3732473{col 98}{space 3} .4229988
{txt}{space 43} {c |}
{space 29}russia#Rep_dum {c |}
{space 2}(Less#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .4525379{col 57}{space 2} .0180857{col 68}{space 1}   25.02{col 77}{space 3}0.000{col 85}{space 4} .4170907{col 98}{space 3} .4879852
{txt}(More#Dem. or Ind.) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .0354743{col 57}{space 2} .0111092{col 68}{space 1}    3.19{col 77}{space 3}0.001{col 85}{space 4} .0137007{col 98}{space 3} .0572478
{txt}{space 2}(More#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3791824{col 57}{space 2} .0174116{col 68}{space 1}   21.78{col 77}{space 3}0.000{col 85}{space 4} .3450564{col 98}{space 3} .4133085
{txt}{space 2}(More#Dem. or Ind.) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.4170636{col 57}{space 2} .0175662{col 68}{space 1}  -23.74{col 77}{space 3}0.000{col 85}{space 4}-.4514927{col 98}{space 3}-.3826346
{txt}{space 4}(More#Republican) vs (Less#Republican)  {c |}{col 45}{res}{space 2}-.0733555{col 57}{space 2} .0220983{col 68}{space 1}   -3.32{col 77}{space 3}0.001{col 85}{space 4}-.1166674{col 98}{space 3}-.0300435
{txt}{space 2}(More#Republican) vs (More#Dem. or Ind.)  {c |}{col 45}{res}{space 2} .3437082{col 57}{space 2}  .017812{col 68}{space 1}   19.30{col 77}{space 3}0.000{col 85}{space 4} .3087974{col 98}{space 3}  .378619
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. margins, by(russia) at (Dem_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,805
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .1782877{col 26}{space 2} .0111504{col 37}{space 1}   15.99{col 46}{space 3}0.000{col 54}{space 4} .1564334{col 67}{space 3}  .200142
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .1642608{col 26}{space 2} .0114158{col 37}{space 1}   14.39{col 46}{space 3}0.000{col 54}{space 4} .1418862{col 67}{space 3} .1866353
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("")/*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Positive emotions towards Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "DJT_Dem_PosEmo.gph", replace
{txt}(note: file DJT_Dem_PosEmo.gph not found)
{res}{txt}(file DJT_Dem_PosEmo.gph saved)

{com}. graph export "DJT_Dem_PosEmo.png", replace
{txt}(file DJT_Dem_PosEmo.png written in PNG format)

{com}. pwcompare i.russia##i.Dem_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2}-.0189406{col 57}{space 2} .0120325{col 68}{space 1}   -1.57{col 77}{space 3}0.115{col 85}{space 4}-.0425239{col 98}{space 3} .0046427
{txt}{space 43} {c |}
{space 36}Dem_dum {c |}
{space 18}Democrat vs Rep. or Ind.  {c |}{col 45}{res}{space 2}-.1681842{col 57}{space 2} .0111192{col 68}{space 1}  -15.13{col 77}{space 3}0.000{col 85}{space 4}-.1899774{col 98}{space 3} -.146391
{txt}{space 43} {c |}
{space 29}russia#Dem_dum {c |}
{space 4}(Less#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.1427592{col 57}{space 2} .0157093{col 68}{space 1}   -9.09{col 77}{space 3}0.000{col 85}{space 4}-.1735487{col 98}{space 3}-.1119696
{txt}(More#Rep. or Ind.) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2} .0064844{col 57}{space 2} .0126846{col 68}{space 1}    0.51{col 77}{space 3}0.609{col 85}{space 4} -.018377{col 98}{space 3} .0313458
{txt}{space 4}(More#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.1871248{col 57}{space 2} .0164658{col 68}{space 1}  -11.36{col 77}{space 3}0.000{col 85}{space 4}-.2193972{col 98}{space 3}-.1548524
{txt}{space 4}(More#Rep. or Ind.) vs (Less#Democrat)  {c |}{col 45}{res}{space 2} .1492436{col 57}{space 2} .0163007{col 68}{space 1}    9.16{col 77}{space 3}0.000{col 85}{space 4} .1172949{col 98}{space 3} .1811923
{txt}{space 8}(More#Democrat) vs (Less#Democrat)  {c |}{col 45}{res}{space 2}-.0443656{col 57}{space 2} .0193846{col 68}{space 1}   -2.29{col 77}{space 3}0.022{col 85}{space 4}-.0823588{col 98}{space 3}-.0063724
{txt}{space 4}(More#Democrat) vs (More#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.1936092{col 57}{space 2} .0157351{col 68}{space 1}  -12.30{col 77}{space 3}0.000{col 85}{space 4}-.2244494{col 98}{space 3}-.1627691
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using "Output/TA2_trump_emotions_index_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA2_trump_emotions_index_party.doc"'"':Output/TA2_trump_emotions_index_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA2_trump_emotions_index_party.txt""':seeout}

{com}. 
. 
. xtreg djt_neg_emo_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,801
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3781                                         {txt}min = {res}     1,109
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,400.5
{txt}     overall = {res}0.3770                                         {txt}max = {res}     1,692

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1688.96
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  djt_neg_emo_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}  -.04287{col 49}{space 2}  .018072{col 60}{space 1}   -2.37{col 69}{space 3}0.018{col 77}{space 4}-.0782905{col 90}{space 3}-.0074495
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.3027515{col 49}{space 2} .0195695{col 60}{space 1}  -15.47{col 69}{space 3}0.000{col 77}{space 4} -.341107{col 90}{space 3} -.264396
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0571295{col 49}{space 2} .0274442{col 60}{space 1}    2.08{col 69}{space 3}0.037{col 77}{space 4} .0033398{col 90}{space 3} .1109192
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .2376306{col 49}{space 2} .0169538{col 60}{space 1}   14.02{col 69}{space 3}0.000{col 77}{space 4} .2044018{col 90}{space 3} .2708594
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0316797{col 49}{space 2} .0239955{col 60}{space 1}    1.32{col 69}{space 3}0.187{col 77}{space 4}-.0153507{col 90}{space 3} .0787101
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0009778{col 49}{space 2}  .010303{col 60}{space 1}    0.09{col 69}{space 3}0.924{col 77}{space 4}-.0192157{col 90}{space 3} .0211713
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0127625{col 49}{space 2} .0103041{col 60}{space 1}   -1.24{col 69}{space 3}0.215{col 77}{space 4}-.0329582{col 90}{space 3} .0074332
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0013363{col 49}{space 2} .0103189{col 60}{space 1}   -0.13{col 69}{space 3}0.897{col 77}{space 4}-.0215609{col 90}{space 3} .0188883
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0051147{col 49}{space 2} .0103074{col 60}{space 1}    0.50{col 69}{space 3}0.620{col 77}{space 4}-.0150874{col 90}{space 3} .0253168
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .5465809{col 49}{space 2} .0165049{col 60}{space 1}   33.12{col 69}{space 3}0.000{col 77}{space 4}  .514232{col 90}{space 3} .5789298
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .27193363
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. estimates store T2C3
{txt}
{com}. 
. margins, by(russia) at (Rep_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,801
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Rep_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2} .3433877{col 26}{space 2} .0164858{col 37}{space 1}   20.83{col 46}{space 3}0.000{col 54}{space 4} .3110761{col 67}{space 3} .3756992
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .3663274{col 26}{space 2} .0161049{col 37}{space 1}   22.75{col 46}{space 3}0.000{col 54}{space 4} .3347624{col 67}{space 3} .3978923
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("")/*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Negative emotions towards Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "DJT_Rep_NegEmo.gph", replace
{txt}(note: file DJT_Rep_NegEmo.gph not found)
{res}{txt}(file DJT_Rep_NegEmo.gph saved)

{com}. graph export "DJT_Rep_NegEmo.png", replace
{txt}(file DJT_Rep_NegEmo.png written in PNG format)

{com}. pwcompare i.russia##i.Rep_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2} .0015346{col 57}{space 2} .0129934{col 68}{space 1}    0.12{col 77}{space 3}0.906{col 85}{space 4}-.0239319{col 98}{space 3} .0270011
{txt}{space 43} {c |}
{space 36}Rep_dum {c |}
{space 16}Republican vs Dem. or Ind.  {c |}{col 45}{res}{space 2}-.2741868{col 57}{space 2} .0137251{col 68}{space 1}  -19.98{col 77}{space 3}0.000{col 85}{space 4}-.3010874{col 98}{space 3}-.2472861
{txt}{space 43} {c |}
{space 29}russia#Rep_dum {c |}
{space 2}(Less#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2}-.3027515{col 57}{space 2} .0195695{col 68}{space 1}  -15.47{col 77}{space 3}0.000{col 85}{space 4} -.341107{col 98}{space 3} -.264396
{txt}(More#Dem. or Ind.) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2}-.0270301{col 57}{space 2} .0119947{col 68}{space 1}   -2.25{col 77}{space 3}0.024{col 85}{space 4}-.0505394{col 98}{space 3}-.0035209
{txt}{space 2}(More#Republican) vs (Less#Dem. or Ind.)  {c |}{col 45}{res}{space 2}-.2726522{col 57}{space 2} .0187914{col 68}{space 1}  -14.51{col 77}{space 3}0.000{col 85}{space 4}-.3094826{col 98}{space 3}-.2358217
{txt}{space 2}(More#Dem. or Ind.) vs (Less#Republican)  {c |}{col 45}{res}{space 2} .2757214{col 57}{space 2} .0190077{col 68}{space 1}   14.51{col 77}{space 3}0.000{col 85}{space 4} .2384669{col 98}{space 3} .3129758
{txt}{space 4}(More#Republican) vs (Less#Republican)  {c |}{col 45}{res}{space 2} .0300993{col 57}{space 2} .0238825{col 68}{space 1}    1.26{col 77}{space 3}0.208{col 85}{space 4}-.0167095{col 98}{space 3} .0769082
{txt}{space 2}(More#Republican) vs (More#Dem. or Ind.)  {c |}{col 45}{res}{space 2} -.245622{col 57}{space 2} .0192454{col 68}{space 1}  -12.76{col 77}{space 3}0.000{col 85}{space 4}-.2833422{col 98}{space 3}-.2079018
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. margins, by(russia) at (Dem_dum=1)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,801
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:at}:{space 1}{res:{txt}0.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt}1.russia}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:Dem_dum}{space 9}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}russia {c |}
{space 7}Less  {c |}{col 14}{res}{space 2}   .70623{col 26}{space 2}  .012015{col 37}{space 1}   58.78{col 46}{space 3}0.000{col 54}{space 4}  .682681{col 67}{space 3} .7297789
{txt}{space 7}More  {c |}{col 14}{res}{space 2} .7068285{col 26}{space 2} .0123009{col 37}{space 1}   57.46{col 46}{space 3}0.000{col 54}{space 4} .6827192{col 67}{space 3} .7309378
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, plotopts(lpattern(dash)) yscale(range(0.4 0.8)) ylabel(0(0.1)0.8) xscale(range(-0.75 1.75)) title("")/*
>         */ xtitle("Trump-Russia news exposure", size(medium)) ytitle("Negative emotions towards Trump (0-1)", size(medium)) graphregion(color(white)) plotregion(color(white)) /*
>         */ bgcolor(white) graphregion(margin(vsmall)) xlabel(,labsize(medium)) scheme(s2mono)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: russia{p_end}
{res}{txt}
{com}. graph save "DJT_Dem_NegEmo.gph", replace
{txt}(note: file DJT_Dem_NegEmo.gph not found)
{res}{txt}(file DJT_Dem_NegEmo.gph saved)

{com}. graph export "DJT_Dem_NegEmo.png", replace
{txt}(file DJT_Dem_NegEmo.png written in PNG format)

{com}. pwcompare i.russia##i.Dem_dum, effects
{res}
{txt}Pairwise comparisons of marginal linear predictions

{txt}{p2colset 1 14 16 2}{...}
{p2col:Margins}:{space 1}{res:asbalanced}{p_end}
{p2colreset}{...}

{res}{txt}{hline 44}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 45}{c |}{col 68}      Una{col 77}djusted{col 85}          Una{col 98}djusted
{col 45}{c |}   Contrast{col 57}   Std. Err.{col 69}      z{col 77}   P>|z|{col 85}     [95% Con{col 98}f. Interval]
{hline 44}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 37}russia {c |}
{space 30}More vs Less  {c |}{col 45}{res}{space 2} .0015346{col 57}{space 2} .0129934{col 68}{space 1}    0.12{col 77}{space 3}0.906{col 85}{space 4}-.0239319{col 98}{space 3} .0270011
{txt}{space 43} {c |}
{space 36}Dem_dum {c |}
{space 18}Democrat vs Rep. or Ind.  {c |}{col 45}{res}{space 2} .2534704{col 57}{space 2} .0120042{col 68}{space 1}   21.12{col 77}{space 3}0.000{col 85}{space 4} .2299426{col 98}{space 3} .2769983
{txt}{space 43} {c |}
{space 29}russia#Dem_dum {c |}
{space 4}(Less#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2} .2376306{col 57}{space 2} .0169538{col 68}{space 1}   14.02{col 77}{space 3}0.000{col 85}{space 4} .2044018{col 98}{space 3} .2708594
{txt}(More#Rep. or Ind.) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}-.0143053{col 57}{space 2} .0137156{col 68}{space 1}   -1.04{col 77}{space 3}0.297{col 85}{space 4}-.0411874{col 98}{space 3} .0125769
{txt}{space 4}(More#Democrat) vs (Less#Rep. or Ind.)  {c |}{col 45}{res}{space 2}  .255005{col 57}{space 2} .0177738{col 68}{space 1}   14.35{col 77}{space 3}0.000{col 85}{space 4}  .220169{col 98}{space 3}  .289841
{txt}{space 4}(More#Rep. or Ind.) vs (Less#Democrat)  {c |}{col 45}{res}{space 2}-.2519358{col 57}{space 2} .0176054{col 68}{space 1}  -14.31{col 77}{space 3}0.000{col 85}{space 4}-.2864418{col 98}{space 3}-.2174299
{txt}{space 8}(More#Democrat) vs (Less#Democrat)  {c |}{col 45}{res}{space 2} .0173745{col 57}{space 2} .0209148{col 68}{space 1}    0.83{col 77}{space 3}0.406{col 85}{space 4}-.0236178{col 98}{space 3} .0583667
{txt}{space 4}(More#Democrat) vs (More#Rep. or Ind.)  {c |}{col 45}{res}{space 2} .2693103{col 57}{space 2} .0169901{col 68}{space 1}   15.85{col 77}{space 3}0.000{col 85}{space 4} .2360102{col 98}{space 3} .3026104
{txt}{hline 44}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using "Output/TA2_trump_emotions_index_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA2_trump_emotions_index_party.doc"'"':Output/TA2_trump_emotions_index_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA2_trump_emotions_index_party.txt""':seeout}

{com}. 
. 
. 
. ** Vertical coefficient plots **
. coefplot (T2C1, label(Trump emotional index) msize(small) ciopts(lcolor(gs0)) msymbol(0h) mlcolor(black) mcolor(gs16)) (T2C2, label(Positive emotions towards Trump) msize(small) ciopts(lcolor(gs6)) mcolor(gs6)) /*
>         */ (T2C3, label(Negative emotions towards Trump) msize(small) ciopts(lcolor(gs12)) mcolor(gs12)), vertical /*
>         */ keep(1.Rep_dum 1.Dem_dum) yline(0) title("(a) Baseline opinions (Trump-Russia stories removed)", size(med)) ylabel(,labsize(small)) yscale(range(-0.5 0.5)) ylabel(-0.5(0.1)0.5) /*
>         */ graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) coeflabels(, interaction (" x ") wrap(20)) /*
>         */ legend(cols(1) size(medsmall) region(lstyle(none)))
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. graph save "F4a_TrumpEmotionsVertical.gph", replace
{txt}(note: file F4a_TrumpEmotionsVertical.gph not found)
{res}{txt}(file F4a_TrumpEmotionsVertical.gph saved)

{com}. graph export "F4a_TrumpEmotionsVertical.png", replace
{txt}(file F4a_TrumpEmotionsVertical.png written in PNG format)

{com}. 
. 
. label drop russia
{txt}
{com}. label define russia 0"Less Trump-Russia scandal" 1"More Trump-Russia scandal"
{txt}
{com}. label value russia russia
{txt}
{com}.         
. coefplot (T2C1, label(Trump emotional index) msize(small) ciopts(lcolor(gs0)) msymbol(0h) mlcolor(black) mcolor(gs16)) (T2C2, label(Positive emotions towards Trump) msize(small) ciopts(lcolor(gs6)) mcolor(gs6)) /*
>         */ (T2C3, label(Negative emotions towards Trump) msize(small) ciopts(lcolor(gs12)) mcolor(gs12)), vertical /*
>         */ keep(1.russia#1.Rep_dum 1.russia#1.Dem_dum) yline(0) title("(b) Difference from baseline opinions among those who saw" "more Trump-Russia stories", size(med)) ylabel(,labsize(small)) yscale(range(-0.2 0.2)) ylabel(-0.2(0.1)0.2) /*
>         */ graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) coeflabels(, interaction (" x ") wrap(20)) /*
>         */ legend(cols(1) size(medsmall) region(lstyle(none)))
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. graph save "F4b_TrumpEmotionsVertical.gph", replace
{txt}(note: file F4b_TrumpEmotionsVertical.gph not found)
{res}{txt}(file F4b_TrumpEmotionsVertical.gph saved)

{com}. graph export "F4b_TrumpEmotionsVertical.png", replace
{txt}(file F4b_TrumpEmotionsVertical.png written in PNG format)

{com}.         
.         
. graph combine "F4a_TrumpEmotionsVertical.gph" "F4b_TrumpEmotionsVertical.gph", col(1) row(2) xsize(4) ysize(6) title("Emotions towards President Trump", size(medlarge)) graphregion(color(white)) plotregion(color(white))
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. graph save "Figure 4 - Trump emotions.gph", replace
{txt}(note: file Figure 4 - Trump emotions.gph not found)
{res}{txt}(file Figure 4 - Trump emotions.gph saved)

{com}. graph export "Figure 4 - Trump emotions.png", replace
{txt}(file Figure 4 - Trump emotions.png written in PNG format)

{com}. 
. 
. 
. ** Combined marginsplot **
. graph combine "DJT_Rep_AllEmo.gph" "DJT_Rep_PosEmo.gph" "DJT_Rep_NegEmo.gph", col(3) row(1) xsize(6) ysize(3) title("Republicans") graphregion(color(white))
{res}{txt}
{com}. graph save "F5a_DJT_Rep.gph", replace
{txt}(note: file F5a_DJT_Rep.gph not found)
{res}{txt}(file F5a_DJT_Rep.gph saved)

{com}. graph export "F5a_DJT_Rep.png", replace
{txt}(file F5a_DJT_Rep.png written in PNG format)

{com}. 
. graph combine "DJT_Dem_AllEmo.gph" "DJT_Dem_PosEmo.gph" "DJT_Dem_NegEmo.gph", col(3) row(1) xsize(6) ysize(3) title("Democrats") graphregion(color(white))
{res}{txt}
{com}. graph save "F5a_DJT_Dem.gph", replace
{txt}(note: file F5a_DJT_Dem.gph not found)
{res}{txt}(file F5a_DJT_Dem.gph saved)

{com}. graph export "F5a_DJT_Dem.png", replace
{txt}(file F5a_DJT_Dem.png written in PNG format)

{com}. 
. graph combine "F5a_DJT_Rep.gph" "F5a_DJT_Dem.gph", col(1) row(2) graphregion(color(white))
{res}{txt}
{com}. graph save "Figure 5 - Trump emotions.gph", replace
{txt}(note: file Figure 5 - Trump emotions.gph not found)
{res}{txt}(file Figure 5 - Trump emotions.gph saved)

{com}. graph export "Figure 5 - Trump emotions.png", replace
{txt}(file Figure 5 - Trump emotions.png written in PNG format)

{com}. 
.         
.         
.         
.         
. 
. **********************************
. ***** Table A3: Media bias ********
. **********************************
. 
. xtreg msm_news_unbiased_index i.russia##Rep_dum i.russia##Dem_dum i.immigration i.defenseOfJourn i.factcheck i.intraparty
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,834
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1523                                         {txt}min = {res}     1,123
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,417.0
{txt}     overall = {res}0.1520                                         {txt}max = {res}     1,711

                                                {txt}Wald chi2({res}9{txt})      =  {res}   506.33
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 38}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}              msm_news_unbiased_index{col 39}{c |}      Coef.{col 51}   Std. Err.{col 63}      z{col 71}   P>|z|{col 79}     [95% Con{col 92}f. Interval]
{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 31}russia {c |}
{space 11}More Trump-Russia scandal  {c |}{col 39}{res}{space 2}-.0349977{col 51}{space 2} .0168719{col 62}{space 1}   -2.07{col 71}{space 3}0.038{col 79}{space 4} -.068066{col 92}{space 3}-.0019294
{txt}{space 37} {c |}
{space 30}Rep_dum {c |}
{space 26}Republican  {c |}{col 39}{res}{space 2}-.0688629{col 51}{space 2} .0182953{col 62}{space 1}   -3.76{col 71}{space 3}0.000{col 79}{space 4}-.1047211{col 92}{space 3}-.0330048
{txt}{space 37} {c |}
{space 23}russia#Rep_dum {c |}
More Trump-Russia scandal#Republican  {c |}{col 39}{res}{space 2} .0214483{col 51}{space 2} .0256091{col 62}{space 1}    0.84{col 71}{space 3}0.402{col 79}{space 4}-.0287446{col 92}{space 3} .0716411
{txt}{space 37} {c |}
{space 30}Dem_dum {c |}
{space 28}Democrat  {c |}{col 39}{res}{space 2} .1600161{col 51}{space 2} .0158849{col 62}{space 1}   10.07{col 71}{space 3}0.000{col 79}{space 4} .1288823{col 92}{space 3} .1911499
{txt}{space 37} {c |}
{space 23}russia#Dem_dum {c |}
{space 2}More Trump-Russia scandal#Democrat  {c |}{col 39}{res}{space 2} .0416386{col 51}{space 2} .0224333{col 62}{space 1}    1.86{col 71}{space 3}0.063{col 79}{space 4}-.0023298{col 92}{space 3}  .085607
{txt}{space 37} {c |}
{space 26}immigration {c |}
{space 2}More immigration, less health care  {c |}{col 39}{res}{space 2}-.0154487{col 51}{space 2} .0096286{col 62}{space 1}   -1.60{col 71}{space 3}0.109{col 79}{space 4}-.0343203{col 92}{space 3}  .003423
{txt}{space 37} {c |}
{space 23}defenseOfJourn {c |}
{space 10}More defense of journalism  {c |}{col 39}{res}{space 2}-.0104413{col 51}{space 2} .0096331{col 62}{space 1}   -1.08{col 71}{space 3}0.278{col 79}{space 4}-.0293217{col 92}{space 3} .0084392
{txt}{space 37} {c |}
{space 28}factcheck {c |}
{space 18}More fact checking  {c |}{col 39}{res}{space 2} .0385261{col 51}{space 2} .0096448{col 62}{space 1}    3.99{col 71}{space 3}0.000{col 79}{space 4} .0196227{col 92}{space 3} .0574295
{txt}{space 37} {c |}
{space 27}intraparty {c |}
{space 7}More intra-party disagreement  {c |}{col 39}{res}{space 2} .0081623{col 51}{space 2} .0096294{col 62}{space 1}    0.85{col 71}{space 3}0.397{col 79}{space 4}-.0107109{col 92}{space 3} .0270355
{txt}{space 32}_cons {c |}{col 39}{res}{space 2} .2552783{col 51}{space 2} .0154385{col 62}{space 1}   16.54{col 71}{space 3}0.000{col 79}{space 4} .2250194{col 92}{space 3} .2855372
{txt}{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                              sigma_u {c |} {res}         0
                              {txt}sigma_e {c |} {res} .25557786
                                  {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 38}{c BT}{hline 64}

{com}. 
. estimates store T3C1
{txt}
{com}. 
. outreg2 using "Output/TA3_Media_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA3_Media_party.doc"'"':Output/TA3_Media_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA3_Media_party.txt""':seeout}

{com}. 
. xtreg msm_news_trust_index i.russia##Rep_dum i.russia##Dem_dum i.immigration i.defenseOfJourn i.factcheck i.intraparty
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,816
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1753                                         {txt}min = {res}     1,111
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,408.0
{txt}     overall = {res}0.1750                                         {txt}max = {res}     1,705

                                                {txt}Wald chi2({res}9{txt})      =  {res}   595.10
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 38}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                 msm_news_trust_index{col 39}{c |}      Coef.{col 51}   Std. Err.{col 63}      z{col 71}   P>|z|{col 79}     [95% Con{col 92}f. Interval]
{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 31}russia {c |}
{space 11}More Trump-Russia scandal  {c |}{col 39}{res}{space 2}-.0362064{col 51}{space 2} .0171174{col 62}{space 1}   -2.12{col 71}{space 3}0.034{col 79}{space 4}-.0697559{col 92}{space 3} -.002657
{txt}{space 37} {c |}
{space 30}Rep_dum {c |}
{space 26}Republican  {c |}{col 39}{res}{space 2}-.1052294{col 51}{space 2} .0185569{col 62}{space 1}   -5.67{col 71}{space 3}0.000{col 79}{space 4}-.1416002{col 92}{space 3}-.0688585
{txt}{space 37} {c |}
{space 23}russia#Rep_dum {c |}
More Trump-Russia scandal#Republican  {c |}{col 39}{res}{space 2}  .039681{col 51}{space 2} .0260409{col 62}{space 1}    1.52{col 71}{space 3}0.128{col 79}{space 4}-.0113582{col 92}{space 3} .0907202
{txt}{space 37} {c |}
{space 30}Dem_dum {c |}
{space 28}Democrat  {c |}{col 39}{res}{space 2} .1683994{col 51}{space 2} .0161214{col 62}{space 1}   10.45{col 71}{space 3}0.000{col 79}{space 4} .1368021{col 92}{space 3} .1999967
{txt}{space 37} {c |}
{space 23}russia#Dem_dum {c |}
{space 2}More Trump-Russia scandal#Democrat  {c |}{col 39}{res}{space 2} .0392153{col 51}{space 2} .0227852{col 62}{space 1}    1.72{col 71}{space 3}0.085{col 79}{space 4}-.0054429{col 92}{space 3} .0838735
{txt}{space 37} {c |}
{space 26}immigration {c |}
{space 2}More immigration, less health care  {c |}{col 39}{res}{space 2}-.0285971{col 51}{space 2} .0097912{col 62}{space 1}   -2.92{col 71}{space 3}0.003{col 79}{space 4}-.0477874{col 92}{space 3}-.0094067
{txt}{space 37} {c |}
{space 23}defenseOfJourn {c |}
{space 10}More defense of journalism  {c |}{col 39}{res}{space 2}-.0058052{col 51}{space 2} .0097932{col 62}{space 1}   -0.59{col 71}{space 3}0.553{col 79}{space 4}-.0249995{col 92}{space 3} .0133891
{txt}{space 37} {c |}
{space 28}factcheck {c |}
{space 18}More fact checking  {c |}{col 39}{res}{space 2} .0304267{col 51}{space 2} .0098056{col 62}{space 1}    3.10{col 71}{space 3}0.002{col 79}{space 4} .0112081{col 92}{space 3} .0496452
{txt}{space 37} {c |}
{space 27}intraparty {c |}
{space 7}More intra-party disagreement  {c |}{col 39}{res}{space 2}-.0011118{col 51}{space 2} .0097906{col 62}{space 1}   -0.11{col 71}{space 3}0.910{col 79}{space 4}-.0203011{col 92}{space 3} .0180775
{txt}{space 32}_cons {c |}{col 39}{res}{space 2} .3763356{col 51}{space 2} .0156557{col 62}{space 1}   24.04{col 71}{space 3}0.000{col 79}{space 4} .3456511{col 92}{space 3} .4070202
{txt}{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                              sigma_u {c |} {res}         0
                              {txt}sigma_e {c |} {res} .25906943
                                  {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 38}{c BT}{hline 64}

{com}. 
. estimates store T3C2
{txt}
{com}. 
. outreg2 using "Output/TA3_Media_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA3_Media_party.doc"'"':Output/TA3_Media_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA3_Media_party.txt""':seeout}

{com}. 
. xtreg msm_news_fair_index i.russia##Rep_dum i.russia##Dem_dum i.immigration i.defenseOfJourn i.factcheck i.intraparty
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,840
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1656                                         {txt}min = {res}     1,121
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,420.0
{txt}     overall = {res}0.1656                                         {txt}max = {res}     1,719

                                                {txt}Wald chi2({res}9{txt})      =  {res}   561.48
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 38}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  msm_news_fair_index{col 39}{c |}      Coef.{col 51}   Std. Err.{col 63}      z{col 71}   P>|z|{col 79}     [95% Con{col 92}f. Interval]
{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 31}russia {c |}
{space 11}More Trump-Russia scandal  {c |}{col 39}{res}{space 2} -.015409{col 51}{space 2} .0169076{col 62}{space 1}   -0.91{col 71}{space 3}0.362{col 79}{space 4}-.0485473{col 92}{space 3} .0177294
{txt}{space 37} {c |}
{space 30}Rep_dum {c |}
{space 26}Republican  {c |}{col 39}{res}{space 2}-.0799749{col 51}{space 2} .0182723{col 62}{space 1}   -4.38{col 71}{space 3}0.000{col 79}{space 4}-.1157879{col 92}{space 3}-.0441618
{txt}{space 37} {c |}
{space 23}russia#Rep_dum {c |}
More Trump-Russia scandal#Republican  {c |}{col 39}{res}{space 2} .0253595{col 51}{space 2} .0256348{col 62}{space 1}    0.99{col 71}{space 3}0.323{col 79}{space 4}-.0248838{col 92}{space 3} .0756029
{txt}{space 37} {c |}
{space 30}Dem_dum {c |}
{space 28}Democrat  {c |}{col 39}{res}{space 2} .1716346{col 51}{space 2} .0159132{col 62}{space 1}   10.79{col 71}{space 3}0.000{col 79}{space 4} .1404452{col 92}{space 3}  .202824
{txt}{space 37} {c |}
{space 23}russia#Dem_dum {c |}
{space 2}More Trump-Russia scandal#Democrat  {c |}{col 39}{res}{space 2} .0369563{col 51}{space 2} .0225081{col 62}{space 1}    1.64{col 71}{space 3}0.101{col 79}{space 4}-.0071587{col 92}{space 3} .0810714
{txt}{space 37} {c |}
{space 26}immigration {c |}
{space 2}More immigration, less health care  {c |}{col 39}{res}{space 2}-.0238761{col 51}{space 2} .0096555{col 62}{space 1}   -2.47{col 71}{space 3}0.013{col 79}{space 4}-.0428004{col 92}{space 3}-.0049517
{txt}{space 37} {c |}
{space 23}defenseOfJourn {c |}
{space 10}More defense of journalism  {c |}{col 39}{res}{space 2}-.0101374{col 51}{space 2} .0096583{col 62}{space 1}   -1.05{col 71}{space 3}0.294{col 79}{space 4}-.0290673{col 92}{space 3} .0087925
{txt}{space 37} {c |}
{space 28}factcheck {c |}
{space 18}More fact checking  {c |}{col 39}{res}{space 2}   .02926{col 51}{space 2} .0096723{col 62}{space 1}    3.03{col 71}{space 3}0.002{col 79}{space 4} .0103026{col 92}{space 3} .0482174
{txt}{space 37} {c |}
{space 27}intraparty {c |}
{space 7}More intra-party disagreement  {c |}{col 39}{res}{space 2} .0038709{col 51}{space 2} .0096559{col 62}{space 1}    0.40{col 71}{space 3}0.689{col 79}{space 4}-.0150544{col 92}{space 3} .0227962
{txt}{space 32}_cons {c |}{col 39}{res}{space 2} .3651325{col 51}{space 2}  .015474{col 62}{space 1}   23.60{col 71}{space 3}0.000{col 79}{space 4} .3348041{col 92}{space 3}  .395461
{txt}{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                              sigma_u {c |} {res}         0
                              {txt}sigma_e {c |} {res} .25683878
                                  {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 38}{c BT}{hline 64}

{com}. 
. estimates store T3C3
{txt}
{com}. 
. outreg2 using "Output/TA3_Media_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA3_Media_party.doc"'"':Output/TA3_Media_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA3_Media_party.txt""':seeout}

{com}. 
. 
. ** Vertical coefficient plots **
. coefplot (T3C1, label(Unbiased) msize(small) ciopts(lcolor(gs0)) msymbol(0h) mlcolor(black) mcolor(gs16)) (T3C2, label(Trusted) msize(small) ciopts(lcolor(gs6)) mcolor(gs6)) /*
>         */ (T3C3, label(Fair) msize(small) ciopts(lcolor(gs12)) mcolor(gs12)), vertical /*
>         */ keep(1.Rep_dum 1.Dem_dum) yline(0) title("(a) Baseline opinions (Trump-Russia stories removed)", size(med)) ylabel(,labsize(small)) yscale(range(-0.5 0.5)) ylabel(-0.5(0.1)0.5) /*
>         */ graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) coeflabels(, interaction (" * ") wrap(20))/*
>         */ legend(rows(1) size(medsmall) region(lstyle(none)))
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. graph save "F6a_MediaAttitudesVertical.gph", replace
{txt}(note: file F6a_MediaAttitudesVertical.gph not found)
{res}{txt}(file F6a_MediaAttitudesVertical.gph saved)

{com}. graph export "F6a_MediaAttitudesVertical.png", replace
{txt}(file F6a_MediaAttitudesVertical.png written in PNG format)

{com}. 
. coefplot (T3C1, label(Unbiased) msize(small) ciopts(lcolor(gs0)) msymbol(0h) mlcolor(black) mcolor(gs16)) (T3C2, label(Trusted) msize(small) ciopts(lcolor(gs6)) mcolor(gs6)) /*
>         */ (T3C3, label(Fair) msize(small) ciopts(lcolor(gs12)) mcolor(gs12)), vertical /*
>         */ keep(1.russia#1.Rep_dum 1.russia#1.Dem_dum) yline(0) title("(b) Difference from baseline opinions among those who saw" "more Trump-Russia stories", size(med)) ylabel(,labsize(small)) yscale(range(-0.2 0.2)) ylabel(-0.2(0.1)0.2) /*
>         */ graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) coeflabels(, interaction (" * ") wrap(20)) legend(rows(1) size(medsmall) region(lstyle(none)))
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}.         
. graph save "F6b_MediaAttitudesVertical.gph", replace
{txt}(note: file F6b_MediaAttitudesVertical.gph not found)
{res}{txt}(file F6b_MediaAttitudesVertical.gph saved)

{com}. graph export "F6b_MediaAttitudesVertical.png", replace
{txt}(file F6b_MediaAttitudesVertical.png written in PNG format)

{com}. 
. 
. graph combine "F6a_MediaAttitudesVertical.gph" "F6b_MediaAttitudesVertical.gph", col(1) row(2) xsize(4) ysize(6) title("Attitudes towards the Media", size(medlarge)) graphregion(color(white)) plotregion(color(white))
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{p 0 4 2}
{txt}(note:  named style
0h not found in class
symbol,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. graph save "Figure 6 - Media attitudes.gph", replace
{txt}(note: file Figure 6 - Media attitudes.gph not found)
{res}{txt}(file Figure 6 - Media attitudes.gph saved)

{com}. graph export "Figure 6 - Media attitudes.png", replace
{txt}(file Figure 6 - Media attitudes.png written in PNG format)

{com}.         
. 
. *** Create margins-friendly labels ***
. label drop russia
{txt}
{com}. label define russia 0"Less" 1"More"
{txt}
{com}. label value russia russia
{txt}
{com}. 
. 
. 
. ********************************
. ** Table A4: Usage Moderation **
. ********************************
. 
. gen perc_russia_clicks = russiaClicks / russiaHits
{txt}(746 missing values generated)

{com}. 
. xtreg trump_job_appr_index russia##Rep_dum russia##Dem_dum perc_russia_clicks i.immigration i.intraparty i.factcheck i.defenseOfJourn usagePropensity
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,432
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4853                                         {txt}min = {res}     1,058
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,216.0
{txt}     overall = {res}0.4854                                         {txt}max = {res}     1,374

                                                {txt}Wald chi2({res}11{txt})     =  {res}  2282.24
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               trump_job_appr_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0541169{col 49}{space 2} .0177247{col 60}{space 1}    3.05{col 69}{space 3}0.002{col 77}{space 4} .0193771{col 90}{space 3} .0888566
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .4445427{col 49}{space 2} .0202359{col 60}{space 1}   21.97{col 69}{space 3}0.000{col 77}{space 4} .4048811{col 90}{space 3} .4842044
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0840952{col 49}{space 2} .0273274{col 60}{space 1}   -3.08{col 69}{space 3}0.002{col 77}{space 4} -.137656{col 90}{space 3}-.0305345
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1939615{col 49}{space 2} .0170703{col 60}{space 1}  -11.36{col 69}{space 3}0.000{col 77}{space 4}-.2274187{col 90}{space 3}-.1605043
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0325687{col 49}{space 2} .0236033{col 60}{space 1}   -1.38{col 69}{space 3}0.168{col 77}{space 4}-.0788303{col 90}{space 3} .0136929
{txt}{space 35} {c |}
{space 17}perc_russia_clicks {c |}{col 37}{res}{space 2}-.1607622{col 49}{space 2} .0527367{col 60}{space 1}   -3.05{col 69}{space 3}0.002{col 77}{space 4}-.2641242{col 90}{space 3}-.0574002
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .001371{col 49}{space 2} .0101888{col 60}{space 1}    0.13{col 69}{space 3}0.893{col 77}{space 4}-.0185988{col 90}{space 3} .0213407
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0031881{col 49}{space 2} .0102017{col 60}{space 1}    0.31{col 69}{space 3}0.755{col 77}{space 4}-.0168068{col 90}{space 3}  .023183
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0095236{col 49}{space 2} .0102099{col 60}{space 1}   -0.93{col 69}{space 3}0.351{col 77}{space 4}-.0295347{col 90}{space 3} .0104875
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0066147{col 49}{space 2} .0101914{col 60}{space 1}   -0.65{col 69}{space 3}0.516{col 77}{space 4}-.0265893{col 90}{space 3}   .01336
{txt}{space 20}usagePropensity {c |}{col 37}{res}{space 2} .0120879{col 49}{space 2} .0088292{col 60}{space 1}    1.37{col 69}{space 3}0.171{col 77}{space 4} -.005217{col 90}{space 3} .0293927
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2438593{col 49}{space 2} .0268499{col 60}{space 1}    9.08{col 69}{space 3}0.000{col 77}{space 4} .1912344{col 90}{space 3} .2964842
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .25082949
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA4_Clicks_moderation_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA4_Clicks_moderation_party.doc"'"':Output/TA4_Clicks_moderation_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA4_Clicks_moderation_party.txt""':seeout}

{com}. 
. estimates store T4C1
{txt}
{com}. 
. 
. xtreg djt_emotions_index russia##Rep_dum perc_russia_clicks russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn usagePropensity
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,373
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4639                                         {txt}min = {res}     1,030
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,186.5
{txt}     overall = {res}0.4635                                         {txt}max = {res}     1,343

                                                {txt}Wald chi2({res}11{txt})     =  {res}  2039.85
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                 djt_emotions_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0469366{col 49}{space 2} .0169911{col 60}{space 1}    2.76{col 69}{space 3}0.006{col 77}{space 4} .0136348{col 90}{space 3} .0802384
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .3785957{col 49}{space 2} .0194159{col 60}{space 1}   19.50{col 69}{space 3}0.000{col 77}{space 4} .3405412{col 90}{space 3} .4166502
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.0910514{col 49}{space 2} .0262574{col 60}{space 1}   -3.47{col 69}{space 3}0.001{col 77}{space 4}-.1425149{col 90}{space 3}-.0395879
{txt}{space 35} {c |}
{space 17}perc_russia_clicks {c |}{col 37}{res}{space 2}-.2030345{col 49}{space 2} .0503418{col 60}{space 1}   -4.03{col 69}{space 3}0.000{col 77}{space 4}-.3017027{col 90}{space 3}-.1043663
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.2050647{col 49}{space 2}  .016314{col 60}{space 1}  -12.57{col 69}{space 3}0.000{col 77}{space 4}-.2370395{col 90}{space 3}-.1730899
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0329808{col 49}{space 2} .0226105{col 60}{space 1}   -1.46{col 69}{space 3}0.145{col 77}{space 4}-.0772966{col 90}{space 3}  .011335
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0077376{col 49}{space 2}  .009774{col 60}{space 1}   -0.79{col 69}{space 3}0.429{col 77}{space 4}-.0268943{col 90}{space 3} .0114192
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0085225{col 49}{space 2} .0097859{col 60}{space 1}    0.87{col 69}{space 3}0.384{col 77}{space 4}-.0106576{col 90}{space 3} .0277026
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0043909{col 49}{space 2} .0097961{col 60}{space 1}   -0.45{col 69}{space 3}0.654{col 77}{space 4} -.023591{col 90}{space 3} .0148091
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0095982{col 49}{space 2} .0097765{col 60}{space 1}   -0.98{col 69}{space 3}0.326{col 77}{space 4}-.0287598{col 90}{space 3} .0095635
{txt}{space 20}usagePropensity {c |}{col 37}{res}{space 2} .0119056{col 49}{space 2} .0083925{col 60}{space 1}    1.42{col 69}{space 3}0.156{col 77}{space 4}-.0045433{col 90}{space 3} .0283545
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3573262{col 49}{space 2} .0256068{col 60}{space 1}   13.95{col 69}{space 3}0.000{col 77}{space 4} .3071378{col 90}{space 3} .4075146
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res}   .237553
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA4_Clicks_moderation_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA4_Clicks_moderation_party.doc"'"':Output/TA4_Clicks_moderation_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA4_Clicks_moderation_party.txt""':seeout}

{com}. 
. estimates store T4C2
{txt}
{com}. 
. 
. *********************************
. ** Figure A7: Usage Moderation **
. *********************************
. 
. ** Vertical coefficient plots **
. coefplot (T4C1, label(Trump job approval) msize(small) ciopts(lcolor(black)) mcolor(black)) (T4C2, label(Trump emotional index) msize(small) ciopts(lcolor(gray)) mcolor(gray)), vertical /*
>         */ keep(1.Rep_dum 1.Dem_dum) yline(0) title("(a) Baseline opinions (Trump-Russia stories removed)", size(medium)) xlabel(,labsize(medsmall))/*
>         */ yscale(range(-0.5 0.5)) ylabel(-0.5(0.1)0.5) graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) /*
>         */ coeflabels(, interaction (" * ") wrap(20)) legend(cols(1) size(medium) region(lstyle(none)))
{res}{txt}
{com}. 
. graph save "F7a_TrumpAssessVertical.gph", replace
{txt}(note: file F7a_TrumpAssessVertical.gph not found)
{res}{txt}(file F7a_TrumpAssessVertical.gph saved)

{com}. graph export "F7a_TrumpAssessVertical.png", replace
{txt}(file F7a_TrumpAssessVertical.png written in PNG format)

{com}. 
.         
. coefplot (T4C1, label(Trump job approval) msize(small) ciopts(lcolor(black)) mcolor(black)) (T4C2, label(Trump emotional index) msize(small) ciopts(lcolor(gray)) mcolor(gray)),  vertical /*
>         */ keep(1.russia#1.Rep_dum 1.russia#1.Dem_dum) yline(0) title("(b) Difference from baseline opinions among those who saw" "more Trump-Russia stories", size(medium)) xlabel(,labsize(medsmall))/*
>         */ yscale(range(-0.2 0.2)) ylabel(-0.2(0.1)0.2) graphregion(color(white)) plotregion(color(white)) bgcolor(white) msize(small) mcolor(gray) /*
>         */ coeflabels(, interaction (" * ") wrap(20)) legend(cols(1) size(medium) region(lstyle(none)))
{res}{txt}
{com}. 
. graph save "F7b_TrumpEmotionsVertical.gph", replace
{txt}(note: file F7b_TrumpEmotionsVertical.gph not found)
{res}{txt}(file F7b_TrumpEmotionsVertical.gph saved)

{com}. graph export "F7b_TrumpEmotionsVertical.png", replace
{txt}(file F7b_TrumpEmotionsVertical.png written in PNG format)

{com}. 
. 
. graph combine "F7a_TrumpAssessVertical.gph" "F7b_TrumpEmotionsVertical.gph", col(1) row(2) xsize(4) ysize(6) title("Trump-Russia Coverage Effects," "Controlling for Clicks and Usage", size(medlarge)) graphregion(color(white)) plotregion(color(white))
{res}{txt}
{com}. 
. graph save "Figure 7 - Trump assessments with usage.gph", replace
{txt}(note: file Figure 7 - Trump assessments with usage.gph not found)
{res}{txt}(file Figure 7 - Trump assessments with usage.gph saved)

{com}. graph export "Figure 7 - Trump assessments with usage.png", replace
{txt}(file Figure 7 - Trump assessments with usage.png written in PNG format)

{com}. 
. 
. xtreg msm_news_unbiased_index i.russia##Rep_dum i.russia##Dem_dum perc_russia_clicks i.immigration i.defenseOfJourn i.factcheck i.intraparty usagePropensity
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,433
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1671                                         {txt}min = {res}     1,061
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,216.5
{txt}     overall = {res}0.1665                                         {txt}max = {res}     1,372

                                                {txt}Wald chi2({res}11{txt})     =  {res}   483.61
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}            msm_news_unbiased_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0367481{col 49}{space 2} .0180025{col 60}{space 1}   -2.04{col 69}{space 3}0.041{col 77}{space 4}-.0720324{col 90}{space 3}-.0014638
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.0667224{col 49}{space 2} .0205988{col 60}{space 1}   -3.24{col 69}{space 3}0.001{col 77}{space 4}-.1070953{col 90}{space 3}-.0263495
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0149547{col 49}{space 2} .0277945{col 60}{space 1}    0.54{col 69}{space 3}0.591{col 77}{space 4}-.0395215{col 90}{space 3} .0694308
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}  .165533{col 49}{space 2} .0173154{col 60}{space 1}    9.56{col 69}{space 3}0.000{col 77}{space 4} .1315954{col 90}{space 3} .1994705
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}  .040121{col 49}{space 2} .0239578{col 60}{space 1}    1.67{col 69}{space 3}0.094{col 77}{space 4}-.0068355{col 90}{space 3} .0870775
{txt}{space 35} {c |}
{space 17}perc_russia_clicks {c |}{col 37}{res}{space 2} .1739906{col 49}{space 2} .0534796{col 60}{space 1}    3.25{col 69}{space 3}0.001{col 77}{space 4} .0691725{col 90}{space 3} .2788088
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0123585{col 49}{space 2} .0103503{col 60}{space 1}   -1.19{col 69}{space 3}0.232{col 77}{space 4}-.0326447{col 90}{space 3} .0079277
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} -.005087{col 49}{space 2} .0103533{col 60}{space 1}   -0.49{col 69}{space 3}0.623{col 77}{space 4}-.0253792{col 90}{space 3} .0152052
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}  .039859{col 49}{space 2} .0103722{col 60}{space 1}    3.84{col 69}{space 3}0.000{col 77}{space 4} .0195298{col 90}{space 3} .0601882
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}  .009809{col 49}{space 2} .0103614{col 60}{space 1}    0.95{col 69}{space 3}0.344{col 77}{space 4} -.010499{col 90}{space 3}  .030117
{txt}{space 20}usagePropensity {c |}{col 37}{res}{space 2}-.0047293{col 49}{space 2} .0089388{col 60}{space 1}   -0.53{col 69}{space 3}0.597{col 77}{space 4}-.0222489{col 90}{space 3} .0127904
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2497714{col 49}{space 2} .0272183{col 60}{space 1}    9.18{col 69}{space 3}0.000{col 77}{space 4} .1964245{col 90}{space 3} .3031183
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res}  .2542045
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA4_Clicks_moderation_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA4_Clicks_moderation_party.doc"'"':Output/TA4_Clicks_moderation_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA4_Clicks_moderation_party.txt""':seeout}

{com}. xtreg msm_news_trust_index i.russia##Rep_dum i.russia##Dem_dum perc_russia_clicks i.immigration i.defenseOfJourn i.factcheck i.intraparty usagePropensity
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,414
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1907                                         {txt}min = {res}     1,048
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,207.0
{txt}     overall = {res}0.1904                                         {txt}max = {res}     1,366

                                                {txt}Wald chi2({res}11{txt})     =  {res}   565.08
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               msm_news_trust_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0373613{col 49}{space 2} .0182832{col 60}{space 1}   -2.04{col 69}{space 3}0.041{col 77}{space 4}-.0731958{col 90}{space 3}-.0015269
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.1184695{col 49}{space 2} .0209173{col 60}{space 1}   -5.66{col 69}{space 3}0.000{col 77}{space 4}-.1594666{col 90}{space 3}-.0774724
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0473945{col 49}{space 2} .0282949{col 60}{space 1}    1.68{col 69}{space 3}0.094{col 77}{space 4}-.0080625{col 90}{space 3} .1028515
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .1674426{col 49}{space 2} .0176051{col 60}{space 1}    9.51{col 69}{space 3}0.000{col 77}{space 4} .1329372{col 90}{space 3} .2019479
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0488142{col 49}{space 2} .0243692{col 60}{space 1}    2.00{col 69}{space 3}0.045{col 77}{space 4} .0010514{col 90}{space 3} .0965771
{txt}{space 35} {c |}
{space 17}perc_russia_clicks {c |}{col 37}{res}{space 2} .1461421{col 49}{space 2}  .054363{col 60}{space 1}    2.69{col 69}{space 3}0.007{col 77}{space 4} .0395927{col 90}{space 3} .2526916
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0286477{col 49}{space 2} .0105409{col 60}{space 1}   -2.72{col 69}{space 3}0.007{col 77}{space 4}-.0493076{col 90}{space 3}-.0079879
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0012136{col 49}{space 2} .0105434{col 60}{space 1}   -0.12{col 69}{space 3}0.908{col 77}{space 4}-.0218783{col 90}{space 3} .0194511
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0270454{col 49}{space 2} .0105624{col 60}{space 1}    2.56{col 69}{space 3}0.010{col 77}{space 4} .0063435{col 90}{space 3} .0477472
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0003215{col 49}{space 2} .0105522{col 60}{space 1}   -0.03{col 69}{space 3}0.976{col 77}{space 4}-.0210035{col 90}{space 3} .0203604
{txt}{space 20}usagePropensity {c |}{col 37}{res}{space 2}  .007948{col 49}{space 2} .0091087{col 60}{space 1}    0.87{col 69}{space 3}0.383{col 77}{space 4}-.0099046{col 90}{space 3} .0258006
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3499678{col 49}{space 2} .0276901{col 60}{space 1}   12.64{col 69}{space 3}0.000{col 77}{space 4} .2956963{col 90}{space 3} .4042393
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .25807762
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA4_Clicks_moderation_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA4_Clicks_moderation_party.doc"'"':Output/TA4_Clicks_moderation_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA4_Clicks_moderation_party.txt""':seeout}

{com}. xtreg msm_news_fair_index i.russia##Rep_dum i.russia##Dem_dum perc_russia_clicks i.immigration i.defenseOfJourn i.factcheck i.intraparty usagePropensity
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,433
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1816                                         {txt}min = {res}     1,057
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,216.5
{txt}     overall = {res}0.1814                                         {txt}max = {res}     1,376

                                                {txt}Wald chi2({res}11{txt})     =  {res}   536.63
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                msm_news_fair_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0249409{col 49}{space 2} .0179551{col 60}{space 1}   -1.39{col 69}{space 3}0.165{col 77}{space 4}-.0601323{col 90}{space 3} .0102505
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.0933884{col 49}{space 2} .0205116{col 60}{space 1}   -4.55{col 69}{space 3}0.000{col 77}{space 4}-.1335904{col 90}{space 3}-.0531863
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0360208{col 49}{space 2}  .027708{col 60}{space 1}    1.30{col 69}{space 3}0.194{col 77}{space 4}-.0182858{col 90}{space 3} .0903274
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .1718176{col 49}{space 2} .0172849{col 60}{space 1}    9.94{col 69}{space 3}0.000{col 77}{space 4} .1379398{col 90}{space 3} .2056954
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0439178{col 49}{space 2} .0239302{col 60}{space 1}    1.84{col 69}{space 3}0.066{col 77}{space 4}-.0029845{col 90}{space 3} .0908201
{txt}{space 35} {c |}
{space 17}perc_russia_clicks {c |}{col 37}{res}{space 2} .1311885{col 49}{space 2} .0536688{col 60}{space 1}    2.44{col 69}{space 3}0.015{col 77}{space 4} .0259997{col 90}{space 3} .2363774
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0240365{col 49}{space 2}  .010336{col 60}{space 1}   -2.33{col 69}{space 3}0.020{col 77}{space 4}-.0442947{col 90}{space 3}-.0037784
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0028588{col 49}{space 2} .0103381{col 60}{space 1}   -0.28{col 69}{space 3}0.782{col 77}{space 4}-.0231212{col 90}{space 3} .0174036
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}   .02802{col 49}{space 2} .0103606{col 60}{space 1}    2.70{col 69}{space 3}0.007{col 77}{space 4} .0077137{col 90}{space 3} .0483264
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0059711{col 49}{space 2} .0103488{col 60}{space 1}    0.58{col 69}{space 3}0.564{col 77}{space 4}-.0143121{col 90}{space 3} .0262543
{txt}{space 20}usagePropensity {c |}{col 37}{res}{space 2} .0026137{col 49}{space 2} .0089255{col 60}{space 1}    0.29{col 69}{space 3}0.770{col 77}{space 4}  -.01488{col 90}{space 3} .0201074
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3520825{col 49}{space 2} .0271656{col 60}{space 1}   12.96{col 69}{space 3}0.000{col 77}{space 4} .2988389{col 90}{space 3} .4053261
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .25425817
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA4_Clicks_moderation_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA4_Clicks_moderation_party.doc"'"':Output/TA4_Clicks_moderation_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA4_Clicks_moderation_party.txt""':seeout}

{com}. 
. 
. 
. 
. **************************************
. *** Table A5: Individual attitudes ***
. **************************************
. 
. xtreg djt_proud_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,839
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4098                                         {txt}min = {res}     1,122
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,419.5
{txt}     overall = {res}0.4099                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1965.03
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    djt_proud_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0588264{col 49}{space 2} .0168934{col 60}{space 1}    3.48{col 69}{space 3}0.000{col 77}{space 4} .0257159{col 90}{space 3}  .091937
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .4468158{col 49}{space 2} .0182852{col 60}{space 1}   24.44{col 69}{space 3}0.000{col 77}{space 4} .4109775{col 90}{space 3}  .482654
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.1152064{col 49}{space 2} .0256361{col 60}{space 1}   -4.49{col 69}{space 3}0.000{col 77}{space 4}-.1654521{col 90}{space 3}-.0649606
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1188968{col 49}{space 2} .0158963{col 60}{space 1}   -7.48{col 69}{space 3}0.000{col 77}{space 4} -.150053{col 90}{space 3}-.0877407
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} -.046985{col 49}{space 2} .0224715{col 60}{space 1}   -2.09{col 69}{space 3}0.037{col 77}{space 4}-.0910283{col 90}{space 3}-.0029417
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0007392{col 49}{space 2}  .009644{col 60}{space 1}    0.08{col 69}{space 3}0.939{col 77}{space 4}-.0181627{col 90}{space 3}  .019641
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0018412{col 49}{space 2} .0096436{col 60}{space 1}    0.19{col 69}{space 3}0.849{col 77}{space 4}-.0170599{col 90}{space 3} .0207424
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0044524{col 49}{space 2} .0096594{col 60}{space 1}   -0.46{col 69}{space 3}0.645{col 77}{space 4}-.0233845{col 90}{space 3} .0144797
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}  .002631{col 49}{space 2} .0096471{col 60}{space 1}    0.27{col 69}{space 3}0.785{col 77}{space 4}-.0162769{col 90}{space 3} .0215388
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .1688416{col 49}{space 2} .0154818{col 60}{space 1}   10.91{col 69}{space 3}0.000{col 77}{space 4} .1384978{col 90}{space 3} .1991853
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .25671806
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_enthusiastic_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,820
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4036                                         {txt}min = {res}     1,113
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,410.0
{txt}     overall = {res}0.4037                                         {txt}max = {res}     1,707

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1902.37
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             djt_enthusiastic_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0708821{col 49}{space 2} .0175543{col 60}{space 1}    4.04{col 69}{space 3}0.000{col 77}{space 4} .0364763{col 90}{space 3} .1052879
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .4444097{col 49}{space 2} .0189439{col 60}{space 1}   23.46{col 69}{space 3}0.000{col 77}{space 4} .4072804{col 90}{space 3} .4815391
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.1163154{col 49}{space 2} .0266281{col 60}{space 1}   -4.37{col 69}{space 3}0.000{col 77}{space 4}-.1685054{col 90}{space 3}-.0641253
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1297216{col 49}{space 2} .0165038{col 60}{space 1}   -7.86{col 69}{space 3}0.000{col 77}{space 4}-.1620685{col 90}{space 3}-.0973748
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} -.056895{col 49}{space 2} .0233301{col 60}{space 1}   -2.44{col 69}{space 3}0.015{col 77}{space 4}-.1026212{col 90}{space 3}-.0111687
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0029614{col 49}{space 2} .0100109{col 60}{space 1}   -0.30{col 69}{space 3}0.767{col 77}{space 4}-.0225825{col 90}{space 3} .0166596
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0063359{col 49}{space 2} .0100122{col 60}{space 1}    0.63{col 69}{space 3}0.527{col 77}{space 4}-.0132877{col 90}{space 3} .0259595
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0007294{col 49}{space 2} .0100299{col 60}{space 1}    0.07{col 69}{space 3}0.942{col 77}{space 4}-.0189289{col 90}{space 3} .0203877
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0004756{col 49}{space 2}  .010015{col 60}{space 1}   -0.05{col 69}{space 3}0.962{col 77}{space 4}-.0201046{col 90}{space 3} .0191534
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .1893418{col 49}{space 2} .0160429{col 60}{space 1}   11.80{col 69}{space 3}0.000{col 77}{space 4} .1578984{col 90}{space 3} .2207853
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .26564511
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_hopeful_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,844
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4365                                         {txt}min = {res}     1,121
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,422.0
{txt}     overall = {res}0.4366                                         {txt}max = {res}     1,723

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2195.76
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  djt_hopeful_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .0574276{col 49}{space 2} .0185326{col 60}{space 1}    3.10{col 69}{space 3}0.002{col 77}{space 4} .0211045{col 90}{space 3} .0937508
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .4631987{col 49}{space 2} .0200685{col 60}{space 1}   23.08{col 69}{space 3}0.000{col 77}{space 4}  .423865{col 90}{space 3} .5025323
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}  -.08932{col 49}{space 2} .0281209{col 60}{space 1}   -3.18{col 69}{space 3}0.001{col 77}{space 4} -.144436{col 90}{space 3} -.034204
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.1784358{col 49}{space 2} .0174462{col 60}{space 1}  -10.23{col 69}{space 3}0.000{col 77}{space 4}-.2126298{col 90}{space 3}-.1442418
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0477316{col 49}{space 2} .0246413{col 60}{space 1}   -1.94{col 69}{space 3}0.053{col 77}{space 4}-.0960277{col 90}{space 3} .0005645
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .000718{col 49}{space 2} .0105747{col 60}{space 1}    0.07{col 69}{space 3}0.946{col 77}{space 4} -.020008{col 90}{space 3} .0214441
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0016114{col 49}{space 2} .0105749{col 60}{space 1}    0.15{col 69}{space 3}0.879{col 77}{space 4} -.019115{col 90}{space 3} .0223379
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0101711{col 49}{space 2} .0105916{col 60}{space 1}   -0.96{col 69}{space 3}0.337{col 77}{space 4}-.0309302{col 90}{space 3}  .010588
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0007704{col 49}{space 2} .0105781{col 60}{space 1}    0.07{col 69}{space 3}0.942{col 77}{space 4}-.0199622{col 90}{space 3}  .021503
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .2708639{col 49}{space 2} .0169632{col 60}{space 1}   15.97{col 69}{space 3}0.000{col 77}{space 4} .2376167{col 90}{space 3} .3041112
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .28173875
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_anxious_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,836
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.2169                                         {txt}min = {res}     1,121
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,418.0
{txt}     overall = {res}0.2161                                         {txt}max = {res}     1,715

                                                {txt}Wald chi2({res}9{txt})      =  {res}   778.83
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  djt_anxious_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0236462{col 49}{space 2} .0203253{col 60}{space 1}   -1.16{col 69}{space 3}0.245{col 77}{space 4}-.0634829{col 90}{space 3} .0161906
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.2309513{col 49}{space 2} .0219174{col 60}{space 1}  -10.54{col 69}{space 3}0.000{col 77}{space 4}-.2739086{col 90}{space 3}-.1879939
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0456978{col 49}{space 2} .0307726{col 60}{space 1}    1.49{col 69}{space 3}0.138{col 77}{space 4}-.0146153{col 90}{space 3} .1060109
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .1963155{col 49}{space 2} .0190999{col 60}{space 1}   10.28{col 69}{space 3}0.000{col 77}{space 4} .1588804{col 90}{space 3} .2337506
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0052402{col 49}{space 2} .0270037{col 60}{space 1}   -0.19{col 69}{space 3}0.846{col 77}{space 4}-.0581665{col 90}{space 3} .0476861
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .002427{col 49}{space 2} .0115778{col 60}{space 1}    0.21{col 69}{space 3}0.834{col 77}{space 4}-.0202651{col 90}{space 3}  .025119
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0060616{col 49}{space 2} .0115778{col 60}{space 1}   -0.52{col 69}{space 3}0.601{col 77}{space 4}-.0287535{col 90}{space 3} .0166304
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0080334{col 49}{space 2} .0115974{col 60}{space 1}   -0.69{col 69}{space 3}0.489{col 77}{space 4} -.030764{col 90}{space 3} .0146971
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} -.004153{col 49}{space 2} .0115819{col 60}{space 1}   -0.36{col 69}{space 3}0.720{col 77}{space 4}-.0268531{col 90}{space 3} .0185472
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .7517866{col 49}{space 2} .0185861{col 60}{space 1}   40.45{col 69}{space 3}0.000{col 77}{space 4} .7153585{col 90}{space 3} .7882147
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .30759418
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_worried_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,838
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3112                                         {txt}min = {res}     1,119
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,419.0
{txt}     overall = {res}0.3103                                         {txt}max = {res}     1,719

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1272.59
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  djt_worried_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0337321{col 49}{space 2} .0198789{col 60}{space 1}   -1.70{col 69}{space 3}0.090{col 77}{space 4} -.072694{col 90}{space 3} .0052297
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.2960325{col 49}{space 2} .0215011{col 60}{space 1}  -13.77{col 69}{space 3}0.000{col 77}{space 4}-.3381739{col 90}{space 3}-.2538912
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0294188{col 49}{space 2} .0301522{col 60}{space 1}    0.98{col 69}{space 3}0.329{col 77}{space 4}-.0296784{col 90}{space 3} .0885161
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .2169549{col 49}{space 2} .0186765{col 60}{space 1}   11.62{col 69}{space 3}0.000{col 77}{space 4} .1803496{col 90}{space 3} .2535602
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0148509{col 49}{space 2} .0264073{col 60}{space 1}    0.56{col 69}{space 3}0.574{col 77}{space 4}-.0369064{col 90}{space 3} .0666083
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0084062{col 49}{space 2} .0113333{col 60}{space 1}   -0.74{col 69}{space 3}0.458{col 77}{space 4}-.0306191{col 90}{space 3} .0138067
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0063108{col 49}{space 2}  .011333{col 60}{space 1}   -0.56{col 69}{space 3}0.578{col 77}{space 4}-.0285231{col 90}{space 3} .0159015
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0023747{col 49}{space 2} .0113495{col 60}{space 1}   -0.21{col 69}{space 3}0.834{col 77}{space 4}-.0246195{col 90}{space 3}   .01987
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0005239{col 49}{space 2} .0113371{col 60}{space 1}    0.05{col 69}{space 3}0.963{col 77}{space 4}-.0216963{col 90}{space 3} .0227441
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .8011166{col 49}{space 2} .0181664{col 60}{space 1}   44.10{col 69}{space 3}0.000{col 77}{space 4} .7655111{col 90}{space 3} .8367221
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .30123809
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_outraged_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,843
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3675                                         {txt}min = {res}     1,124
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,421.5
{txt}     overall = {res}0.3666                                         {txt}max = {res}     1,719

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1640.01
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                 djt_outraged_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0503779{col 49}{space 2} .0209214{col 60}{space 1}   -2.41{col 69}{space 3}0.016{col 77}{space 4}-.0913831{col 90}{space 3}-.0093727
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.3343742{col 49}{space 2} .0226255{col 60}{space 1}  -14.78{col 69}{space 3}0.000{col 77}{space 4}-.3787193{col 90}{space 3} -.290029
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0609094{col 49}{space 2} .0317227{col 60}{space 1}    1.92{col 69}{space 3}0.055{col 77}{space 4}-.0012659{col 90}{space 3} .1230848
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .2701094{col 49}{space 2} .0196995{col 60}{space 1}   13.71{col 69}{space 3}0.000{col 77}{space 4} .2314991{col 90}{space 3} .3087197
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0517986{col 49}{space 2} .0278153{col 60}{space 1}    1.86{col 69}{space 3}0.063{col 77}{space 4}-.0027184{col 90}{space 3} .1063156
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0113428{col 49}{space 2}  .011935{col 60}{space 1}    0.95{col 69}{space 3}0.342{col 77}{space 4}-.0120493{col 90}{space 3}  .034735
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0259644{col 49}{space 2} .0119348{col 60}{space 1}   -2.18{col 69}{space 3}0.030{col 77}{space 4}-.0493563{col 90}{space 3}-.0025726
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0020092{col 49}{space 2} .0119528{col 60}{space 1}    0.17{col 69}{space 3}0.867{col 77}{space 4}-.0214179{col 90}{space 3} .0254362
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}  .008956{col 49}{space 2} .0119381{col 60}{space 1}    0.75{col 69}{space 3}0.453{col 77}{space 4}-.0144423{col 90}{space 3} .0323542
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .6412004{col 49}{space 2} .0191419{col 60}{space 1}   33.50{col 69}{space 3}0.000{col 77}{space 4}  .603683{col 90}{space 3} .6787179
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .31751095
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_angry_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,837
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3600                                         {txt}min = {res}     1,120
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,418.5
{txt}     overall = {res}0.3592                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1584.73
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    djt_angry_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0502478{col 49}{space 2} .0205047{col 60}{space 1}   -2.45{col 69}{space 3}0.014{col 77}{space 4}-.0904362{col 90}{space 3}-.0100593
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.3436159{col 49}{space 2} .0222157{col 60}{space 1}  -15.47{col 69}{space 3}0.000{col 77}{space 4}-.3871579{col 90}{space 3}-.3000738
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0663051{col 49}{space 2} .0311259{col 60}{space 1}    2.13{col 69}{space 3}0.033{col 77}{space 4} .0052995{col 90}{space 3} .1273108
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .2445126{col 49}{space 2} .0192985{col 60}{space 1}   12.67{col 69}{space 3}0.000{col 77}{space 4} .2066882{col 90}{space 3}  .282337
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}  .051296{col 49}{space 2} .0272493{col 60}{space 1}    1.88{col 69}{space 3}0.060{col 77}{space 4}-.0021116{col 90}{space 3} .1047036
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0003112{col 49}{space 2} .0116961{col 60}{space 1}   -0.03{col 69}{space 3}0.979{col 77}{space 4}-.0232351{col 90}{space 3} .0226126
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0186958{col 49}{space 2} .0116974{col 60}{space 1}   -1.60{col 69}{space 3}0.110{col 77}{space 4}-.0416223{col 90}{space 3} .0042307
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0059515{col 49}{space 2} .0117159{col 60}{space 1}    0.51{col 69}{space 3}0.611{col 77}{space 4}-.0170112{col 90}{space 3} .0289142
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0057817{col 49}{space 2} .0116995{col 60}{space 1}    0.49{col 69}{space 3}0.621{col 77}{space 4}-.0171489{col 90}{space 3} .0287124
{txt}{space 30}_cons {c |}{col 37}{res}{space 2}   .54486{col 49}{space 2} .0187587{col 60}{space 1}   29.05{col 69}{space 3}0.000{col 77}{space 4} .5080937{col 90}{space 3} .5816263
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .31090166
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. xtreg djt_fearful_index russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,842
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3219                                         {txt}min = {res}     1,125
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,421.0
{txt}     overall = {res}0.3209                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1338.14
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  djt_fearful_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0457177{col 49}{space 2}  .020753{col 60}{space 1}   -2.20{col 69}{space 3}0.028{col 77}{space 4}-.0863928{col 90}{space 3}-.0050425
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.2815578{col 49}{space 2} .0224744{col 60}{space 1}  -12.53{col 69}{space 3}0.000{col 77}{space 4}-.3256069{col 90}{space 3}-.2375088
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0471428{col 49}{space 2} .0315346{col 60}{space 1}    1.49{col 69}{space 3}0.135{col 77}{space 4} -.014664{col 90}{space 3} .1089496
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .2619001{col 49}{space 2} .0195428{col 60}{space 1}   13.40{col 69}{space 3}0.000{col 77}{space 4} .2235969{col 90}{space 3} .3002033
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0327985{col 49}{space 2} .0275991{col 60}{space 1}    1.19{col 69}{space 3}0.235{col 77}{space 4}-.0212947{col 90}{space 3} .0868917
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0018768{col 49}{space 2} .0118527{col 60}{space 1}    0.16{col 69}{space 3}0.874{col 77}{space 4}-.0213542{col 90}{space 3} .0251077
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0210593{col 49}{space 2} .0118526{col 60}{space 1}   -1.78{col 69}{space 3}0.076{col 77}{space 4}-.0442899{col 90}{space 3} .0021713
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} -.005835{col 49}{space 2}  .011871{col 60}{space 1}   -0.49{col 69}{space 3}0.623{col 77}{space 4}-.0291018{col 90}{space 3} .0174318
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0136993{col 49}{space 2} .0118574{col 60}{space 1}    1.16{col 69}{space 3}0.248{col 77}{space 4}-.0095408{col 90}{space 3} .0369393
{txt}{space 30}_cons {c |}{col 37}{res}{space 2}  .492454{col 49}{space 2} .0190007{col 60}{space 1}   25.92{col 69}{space 3}0.000{col 77}{space 4} .4552132{col 90}{space 3} .5296947
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .31518179
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA5_Appdx_emotions_party.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA5_Appdx_emotions_party.doc"'"':Output/TA5_Appdx_emotions_party.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA5_Appdx_emotions_party.txt""':seeout}

{com}. 
. 
. 
. ****************************
. *** Table A6: Logged DVs ***
. ****************************
. 
. xtreg log_djt_proud russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,839
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4264                                         {txt}min = {res}     1,122
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,419.5
{txt}     overall = {res}0.4265                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2103.66
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                      log_djt_proud{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .1208191{col 49}{space 2} .0368276{col 60}{space 1}    3.28{col 69}{space 3}0.001{col 77}{space 4} .0486384{col 90}{space 3} .1929999
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .9497345{col 49}{space 2} .0398615{col 60}{space 1}   23.83{col 69}{space 3}0.000{col 77}{space 4} .8716074{col 90}{space 3} 1.027862
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.2129874{col 49}{space 2} .0558864{col 60}{space 1}   -3.81{col 69}{space 3}0.000{col 77}{space 4}-.3225228{col 90}{space 3} -.103452
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.3140641{col 49}{space 2} .0346538{col 60}{space 1}   -9.06{col 69}{space 3}0.000{col 77}{space 4}-.3819843{col 90}{space 3} -.246144
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0932143{col 49}{space 2} .0489877{col 60}{space 1}   -1.90{col 69}{space 3}0.057{col 77}{space 4}-.1892283{col 90}{space 3} .0027998
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0004294{col 49}{space 2} .0210238{col 60}{space 1}    0.02{col 69}{space 3}0.984{col 77}{space 4}-.0407766{col 90}{space 3} .0416353
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0065292{col 49}{space 2}  .021023{col 60}{space 1}    0.31{col 69}{space 3}0.756{col 77}{space 4}-.0346751{col 90}{space 3} .0477335
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0241426{col 49}{space 2} .0210574{col 60}{space 1}   -1.15{col 69}{space 3}0.252{col 77}{space 4}-.0654144{col 90}{space 3} .0171292
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0031087{col 49}{space 2} .0210305{col 60}{space 1}    0.15{col 69}{space 3}0.882{col 77}{space 4}-.0381103{col 90}{space 3} .0443277
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .4718459{col 49}{space 2} .0337502{col 60}{space 1}   13.98{col 69}{space 3}0.000{col 77}{space 4} .4056968{col 90}{space 3}  .537995
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .55962538
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_enthusiastic russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,820
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4137                                         {txt}min = {res}     1,113
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,410.0
{txt}     overall = {res}0.4137                                         {txt}max = {res}     1,707

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1983.14
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               log_djt_enthusiastic{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}  .154296{col 49}{space 2} .0381189{col 60}{space 1}    4.05{col 69}{space 3}0.000{col 77}{space 4} .0795842{col 90}{space 3} .2290077
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .9333485{col 49}{space 2} .0411364{col 60}{space 1}   22.69{col 69}{space 3}0.000{col 77}{space 4} .8527226{col 90}{space 3} 1.013974
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} -.230376{col 49}{space 2} .0578225{col 60}{space 1}   -3.98{col 69}{space 3}0.000{col 77}{space 4}-.3437061{col 90}{space 3} -.117046
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.3346924{col 49}{space 2} .0358378{col 60}{space 1}   -9.34{col 69}{space 3}0.000{col 77}{space 4}-.4049332{col 90}{space 3}-.2644517
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.1140389{col 49}{space 2} .0506611{col 60}{space 1}   -2.25{col 69}{space 3}0.024{col 77}{space 4}-.2133328{col 90}{space 3}-.0147449
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0024143{col 49}{space 2} .0217386{col 60}{space 1}    0.11{col 69}{space 3}0.912{col 77}{space 4}-.0401926{col 90}{space 3} .0450212
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0136801{col 49}{space 2} .0217415{col 60}{space 1}    0.63{col 69}{space 3}0.529{col 77}{space 4}-.0289324{col 90}{space 3} .0562926
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0110093{col 49}{space 2} .0217799{col 60}{space 1}   -0.51{col 69}{space 3}0.613{col 77}{space 4} -.053697{col 90}{space 3} .0316785
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0033579{col 49}{space 2} .0217474{col 60}{space 1}   -0.15{col 69}{space 3}0.877{col 77}{space 4} -.045982{col 90}{space 3} .0392662
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .5130864{col 49}{space 2} .0348369{col 60}{space 1}   14.73{col 69}{space 3}0.000{col 77}{space 4} .4448073{col 90}{space 3} .5813655
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .57680698
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_hopeful russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,844
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.4224                                         {txt}min = {res}     1,121
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,422.0
{txt}     overall = {res}0.4224                                         {txt}max = {res}     1,723

                                                {txt}Wald chi2({res}9{txt})      =  {res}  2072.76
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    log_djt_hopeful{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} .1046783{col 49}{space 2} .0397546{col 60}{space 1}    2.63{col 69}{space 3}0.008{col 77}{space 4} .0267607{col 90}{space 3} .1825959
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2} .8964164{col 49}{space 2} .0430495{col 60}{space 1}   20.82{col 69}{space 3}0.000{col 77}{space 4}  .812041{col 90}{space 3} .9807918
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2}-.1446892{col 49}{space 2} .0603228{col 60}{space 1}   -2.40{col 69}{space 3}0.016{col 77}{space 4}-.2629198{col 90}{space 3}-.0264586
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}-.4239094{col 49}{space 2} .0374243{col 60}{space 1}  -11.33{col 69}{space 3}0.000{col 77}{space 4}-.4972597{col 90}{space 3}-.3505591
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}-.0932595{col 49}{space 2} .0528587{col 60}{space 1}   -1.76{col 69}{space 3}0.078{col 77}{space 4}-.1968606{col 90}{space 3} .0103416
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .010481{col 49}{space 2} .0226841{col 60}{space 1}    0.46{col 69}{space 3}0.644{col 77}{space 4}-.0339789{col 90}{space 3}  .054941
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0103071{col 49}{space 2} .0226845{col 60}{space 1}    0.45{col 69}{space 3}0.650{col 77}{space 4}-.0341537{col 90}{space 3} .0547679
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0367322{col 49}{space 2} .0227202{col 60}{space 1}   -1.62{col 69}{space 3}0.106{col 77}{space 4}-.0812631{col 90}{space 3} .0077986
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0037209{col 49}{space 2} .0226912{col 60}{space 1}   -0.16{col 69}{space 3}0.870{col 77}{space 4}-.0481948{col 90}{space 3} .0407531
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .6970515{col 49}{space 2} .0363881{col 60}{space 1}   19.16{col 69}{space 3}0.000{col 77}{space 4} .6257321{col 90}{space 3} .7683709
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .60425329
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_anxious russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,836
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1870                                         {txt}min = {res}     1,121
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,418.0
{txt}     overall = {res}0.1863                                         {txt}max = {res}     1,715

                                                {txt}Wald chi2({res}9{txt})      =  {res}   647.06
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    log_djt_anxious{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0619396{col 49}{space 2} .0383162{col 60}{space 1}   -1.62{col 69}{space 3}0.106{col 77}{space 4} -.137038{col 90}{space 3} .0131588
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.4428094{col 49}{space 2} .0413177{col 60}{space 1}  -10.72{col 69}{space 3}0.000{col 77}{space 4}-.5237906{col 90}{space 3}-.3618282
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .1125369{col 49}{space 2}  .058011{col 60}{space 1}    1.94{col 69}{space 3}0.052{col 77}{space 4}-.0011626{col 90}{space 3} .2262363
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .3031685{col 49}{space 2} .0360062{col 60}{space 1}    8.42{col 69}{space 3}0.000{col 77}{space 4} .2325975{col 90}{space 3} .3737394
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0057083{col 49}{space 2} .0509061{col 60}{space 1}    0.11{col 69}{space 3}0.911{col 77}{space 4}-.0940659{col 90}{space 3} .1054825
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .005402{col 49}{space 2} .0218259{col 60}{space 1}    0.25{col 69}{space 3}0.805{col 77}{space 4} -.037376{col 90}{space 3} .0481801
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0047659{col 49}{space 2} .0218258{col 60}{space 1}   -0.22{col 69}{space 3}0.827{col 77}{space 4}-.0475438{col 90}{space 3} .0380119
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0135535{col 49}{space 2} .0218629{col 60}{space 1}   -0.62{col 69}{space 3}0.535{col 77}{space 4} -.056404{col 90}{space 3} .0292971
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0059981{col 49}{space 2} .0218337{col 60}{space 1}   -0.27{col 69}{space 3}0.784{col 77}{space 4}-.0487914{col 90}{space 3} .0367952
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} 1.366169{col 49}{space 2} .0350377{col 60}{space 1}   38.99{col 69}{space 3}0.000{col 77}{space 4} 1.297496{col 90}{space 3} 1.434841
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .58006636
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_worried russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,838
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.2724                                         {txt}min = {res}     1,119
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,419.0
{txt}     overall = {res}0.2717                                         {txt}max = {res}     1,719

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1055.00
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    log_djt_worried{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.0797301{col 49}{space 2} .0372098{col 60}{space 1}   -2.14{col 69}{space 3}0.032{col 77}{space 4}  -.15266{col 90}{space 3}-.0068003
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.5531199{col 49}{space 2} .0402463{col 60}{space 1}  -13.74{col 69}{space 3}0.000{col 77}{space 4}-.6320012{col 90}{space 3}-.4742386
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .0779585{col 49}{space 2} .0564397{col 60}{space 1}    1.38{col 69}{space 3}0.167{col 77}{space 4}-.0326614{col 90}{space 3} .1885783
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2}  .329667{col 49}{space 2} .0349592{col 60}{space 1}    9.43{col 69}{space 3}0.000{col 77}{space 4} .2611482{col 90}{space 3} .3981858
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .0394965{col 49}{space 2} .0494299{col 60}{space 1}    0.80{col 69}{space 3}0.424{col 77}{space 4}-.0573843{col 90}{space 3} .1363774
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0183948{col 49}{space 2} .0212141{col 60}{space 1}   -0.87{col 69}{space 3}0.386{col 77}{space 4}-.0599736{col 90}{space 3}  .023184
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0017169{col 49}{space 2} .0212135{col 60}{space 1}    0.08{col 69}{space 3}0.935{col 77}{space 4}-.0398607{col 90}{space 3} .0432945
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0114419{col 49}{space 2} .0212444{col 60}{space 1}   -0.54{col 69}{space 3}0.590{col 77}{space 4}-.0530802{col 90}{space 3} .0301963
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0004035{col 49}{space 2}  .021221{col 60}{space 1}   -0.02{col 69}{space 3}0.985{col 77}{space 4}-.0419959{col 90}{space 3}  .041189
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} 1.436795{col 49}{space 2} .0340044{col 60}{space 1}   42.25{col 69}{space 3}0.000{col 77}{space 4} 1.370147{col 90}{space 3} 1.503442
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .56401906
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_outraged russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,843
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3639                                         {txt}min = {res}     1,124
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,421.5
{txt}     overall = {res}0.3630                                         {txt}max = {res}     1,719

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1614.33
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                   log_djt_outraged{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2} -.122917{col 49}{space 2} .0412584{col 60}{space 1}   -2.98{col 69}{space 3}0.003{col 77}{space 4}-.2037819{col 90}{space 3} -.042052
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.7213909{col 49}{space 2}  .044619{col 60}{space 1}  -16.17{col 69}{space 3}0.000{col 77}{space 4}-.8088426{col 90}{space 3}-.6339392
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .1554097{col 49}{space 2} .0625593{col 60}{space 1}    2.48{col 69}{space 3}0.013{col 77}{space 4} .0327957{col 90}{space 3} .2780238
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .4777946{col 49}{space 2} .0388488{col 60}{space 1}   12.30{col 69}{space 3}0.000{col 77}{space 4} .4016524{col 90}{space 3} .5539367
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .1173097{col 49}{space 2} .0548537{col 60}{space 1}    2.14{col 69}{space 3}0.032{col 77}{space 4} .0097984{col 90}{space 3} .2248209
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .018586{col 49}{space 2} .0235366{col 60}{space 1}    0.79{col 69}{space 3}0.430{col 77}{space 4}-.0275449{col 90}{space 3} .0647169
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0444132{col 49}{space 2} .0235363{col 60}{space 1}   -1.89{col 69}{space 3}0.059{col 77}{space 4}-.0905435{col 90}{space 3} .0017171
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0043897{col 49}{space 2} .0235717{col 60}{space 1}   -0.19{col 69}{space 3}0.852{col 77}{space 4}-.0505895{col 90}{space 3}   .04181
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0116956{col 49}{space 2} .0235427{col 60}{space 1}    0.50{col 69}{space 3}0.619{col 77}{space 4}-.0344473{col 90}{space 3} .0578385
{txt}{space 30}_cons {c |}{col 37}{res}{space 2}  1.12879{col 49}{space 2} .0377491{col 60}{space 1}   29.90{col 69}{space 3}0.000{col 77}{space 4} 1.054803{col 90}{space 3} 1.202777
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .62616711
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_angry russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,837
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3356                                         {txt}min = {res}     1,120
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,418.5
{txt}     overall = {res}0.3348                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1423.10
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                      log_djt_angry{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.1134711{col 49}{space 2} .0401103{col 60}{space 1}   -2.83{col 69}{space 3}0.005{col 77}{space 4}-.1920858{col 90}{space 3}-.0348563
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.6916535{col 49}{space 2} .0434573{col 60}{space 1}  -15.92{col 69}{space 3}0.000{col 77}{space 4}-.7768283{col 90}{space 3}-.6064787
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .1522233{col 49}{space 2} .0608869{col 60}{space 1}    2.50{col 69}{space 3}0.012{col 77}{space 4} .0328871{col 90}{space 3} .2715595
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .4063005{col 49}{space 2} .0377509{col 60}{space 1}   10.76{col 69}{space 3}0.000{col 77}{space 4} .3323102{col 90}{space 3} .4802909
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2} .1163568{col 49}{space 2} .0533037{col 60}{space 1}    2.18{col 69}{space 3}0.029{col 77}{space 4} .0118834{col 90}{space 3} .2208302
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0023922{col 49}{space 2} .0228793{col 60}{space 1}   -0.10{col 69}{space 3}0.917{col 77}{space 4}-.0472347{col 90}{space 3} .0424503
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0313559{col 49}{space 2} .0228819{col 60}{space 1}   -1.37{col 69}{space 3}0.171{col 77}{space 4}-.0762036{col 90}{space 3} .0134918
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0037414{col 49}{space 2}  .022918{col 60}{space 1}    0.16{col 69}{space 3}0.870{col 77}{space 4} -.041177{col 90}{space 3} .0486599
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0139543{col 49}{space 2}  .022886{col 60}{space 1}    0.61{col 69}{space 3}0.542{col 77}{space 4}-.0309016{col 90}{space 3} .0588101
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} 1.261932{col 49}{space 2} .0366948{col 60}{space 1}   34.39{col 69}{space 3}0.000{col 77}{space 4} 1.190011{col 90}{space 3} 1.333852
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .60811019
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. xtreg log_djt_fearful russia##Rep_dum russia##Dem_dum i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     2,842
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.3070                                         {txt}min = {res}     1,125
{txt}     between = {res}1.0000                                         {txt}avg = {res}   1,421.0
{txt}     overall = {res}0.3061                                         {txt}max = {res}     1,717

                                                {txt}Wald chi2({res}9{txt})      =  {res}  1249.20
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    log_djt_fearful{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}
{space 30}More  {c |}{col 37}{res}{space 2}-.1156309{col 49}{space 2} .0407545{col 60}{space 1}   -2.84{col 69}{space 3}0.005{col 77}{space 4}-.1955083{col 90}{space 3}-.0357534
{txt}{space 35} {c |}
{space 28}Rep_dum {c |}
{space 24}Republican  {c |}{col 37}{res}{space 2}-.5902777{col 49}{space 2}  .044135{col 60}{space 1}  -13.37{col 69}{space 3}0.000{col 77}{space 4}-.6767807{col 90}{space 3}-.5037746
{txt}{space 35} {c |}
{space 21}russia#Rep_dum {c |}
{space 19}More#Republican  {c |}{col 37}{res}{space 2} .1203335{col 49}{space 2} .0619274{col 60}{space 1}    1.94{col 69}{space 3}0.052{col 77}{space 4}-.0010421{col 90}{space 3}  .241709
{txt}{space 35} {c |}
{space 28}Dem_dum {c |}
{space 26}Democrat  {c |}{col 37}{res}{space 2} .4537184{col 49}{space 2}  .038378{col 60}{space 1}   11.82{col 69}{space 3}0.000{col 77}{space 4}  .378499{col 90}{space 3} .5289379
{txt}{space 35} {c |}
{space 21}russia#Dem_dum {c |}
{space 21}More#Democrat  {c |}{col 37}{res}{space 2}  .078597{col 49}{space 2} .0541988{col 60}{space 1}    1.45{col 69}{space 3}0.147{col 77}{space 4}-.0276308{col 90}{space 3} .1848247
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0025334{col 49}{space 2} .0232763{col 60}{space 1}    0.11{col 69}{space 3}0.913{col 77}{space 4}-.0430873{col 90}{space 3} .0481542
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0288529{col 49}{space 2} .0232759{col 60}{space 1}   -1.24{col 69}{space 3}0.215{col 77}{space 4}-.0744729{col 90}{space 3} .0167671
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0141872{col 49}{space 2} .0233122{col 60}{space 1}   -0.61{col 69}{space 3}0.543{col 77}{space 4}-.0598783{col 90}{space 3} .0315039
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0272629{col 49}{space 2} .0232854{col 60}{space 1}    1.17{col 69}{space 3}0.242{col 77}{space 4}-.0183758{col 90}{space 3} .0729015
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} 1.173101{col 49}{space 2} .0373135{col 60}{space 1}   31.44{col 69}{space 3}0.000{col 77}{space 4} 1.099968{col 90}{space 3} 1.246234
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .61909723
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. outreg2 using "Output/TA6_Appdx_emotions_party_log.doc", se bdec(3) sdec(3)
{txt}{stata `"shellout using `"Output/TA6_Appdx_emotions_party_log.doc"'"':Output/TA6_Appdx_emotions_party_log.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA6_Appdx_emotions_party_log.txt""':seeout}

{com}. 
. 
. 
. 
. ********************************
. *** Table A7: Party strength ***
. ********************************
. 
. use "Portal 2 - Russia.dta", clear
{txt}( )

{com}. 
. xtset wave
{txt}{col 8}panel variable:  {res}wave (balanced)
{txt}
{com}. 
. keep if Rep_dum==1
{txt}(2,947 observations deleted)

{com}. 
. xtreg djt_emotions_index russia i.pid_strength i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}       686
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.2814                                         {txt}min = {res}       265
{txt}     between = {res}1.0000                                         {txt}avg = {res}     343.0
{txt}     overall = {res}0.2825                                         {txt}max = {res}       421

                                                {txt}Wald chi2({res}11{txt})     =  {res}   265.39
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                 djt_emotions_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}{col 37}{res}{space 2}-.0044292{col 49}{space 2} .0162453{col 60}{space 1}   -0.27{col 69}{space 3}0.785{col 77}{space 4}-.0362694{col 90}{space 3}  .027411
{txt}{space 35} {c |}
{space 23}pid_strength {c |}
{space 33}2  {c |}{col 37}{res}{space 2} .0241703{col 49}{space 2} .0581281{col 60}{space 1}    0.42{col 69}{space 3}0.678{col 77}{space 4}-.0897586{col 90}{space 3} .1380992
{txt}{space 33}3  {c |}{col 37}{res}{space 2} .0401339{col 49}{space 2} .0555058{col 60}{space 1}    0.72{col 69}{space 3}0.470{col 77}{space 4}-.0686556{col 90}{space 3} .1489233
{txt}{space 33}4  {c |}{col 37}{res}{space 2} .0938726{col 49}{space 2} .0543109{col 60}{space 1}    1.73{col 69}{space 3}0.084{col 77}{space 4}-.0125747{col 90}{space 3}   .20032
{txt}{space 33}5  {c |}{col 37}{res}{space 2} .1860059{col 49}{space 2} .0510901{col 60}{space 1}    3.64{col 69}{space 3}0.000{col 77}{space 4} .0858712{col 90}{space 3} .2861406
{txt}{space 33}6  {c |}{col 37}{res}{space 2} .3239744{col 49}{space 2} .0508586{col 60}{space 1}    6.37{col 69}{space 3}0.000{col 77}{space 4} .2242933{col 90}{space 3} .4236556
{txt}{space 33}7  {c |}{col 37}{res}{space 2} .3889435{col 49}{space 2} .0520986{col 60}{space 1}    7.47{col 69}{space 3}0.000{col 77}{space 4} .2868322{col 90}{space 3} .4910549
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0121325{col 49}{space 2} .0161002{col 60}{space 1}   -0.75{col 69}{space 3}0.451{col 77}{space 4}-.0436883{col 90}{space 3} .0194233
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0097515{col 49}{space 2} .0161866{col 60}{space 1}    0.60{col 69}{space 3}0.547{col 77}{space 4}-.0219736{col 90}{space 3} .0414766
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0205884{col 49}{space 2}   .01617{col 60}{space 1}    1.27{col 69}{space 3}0.203{col 77}{space 4}-.0111042{col 90}{space 3}  .052281
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0142767{col 49}{space 2} .0161843{col 60}{space 1}   -0.88{col 69}{space 3}0.378{col 77}{space 4}-.0459974{col 90}{space 3}  .017444
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .4875002{col 49}{space 2} .0525479{col 60}{space 1}    9.28{col 69}{space 3}0.000{col 77}{space 4} .3845082{col 90}{space 3} .5904922
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res} .20980525
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. margins, by(russia pid_strength)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}       686
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia pid_strength}{p_end}
{p2colreset}{...}

{res}{txt}{hline 29}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 30}{c |}{col 42} Delta-method
{col 30}{c |}     Margin{col 42}   Std. Err.{col 54}      z{col 62}   P>|z|{col 70}     [95% Con{col 83}f. Interval]
{hline 29}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}russia#pid_strength {c |}
Less Trump-Russia scandal#1  {c |}{col 30}{res}{space 2} .4932322{col 42}{space 2} .0501085{col 53}{space 1}    9.84{col 62}{space 3}0.000{col 70}{space 4} .3950214{col 83}{space 3}  .591443
{txt}Less Trump-Russia scandal#2  {c |}{col 30}{res}{space 2} .5108053{col 42}{space 2} .0342132{col 53}{space 1}   14.93{col 62}{space 3}0.000{col 70}{space 4} .4437487{col 83}{space 3} .5778619
{txt}Less Trump-Russia scandal#3  {c |}{col 30}{res}{space 2} .5265435{col 42}{space 2} .0290629{col 53}{space 1}   18.12{col 62}{space 3}0.000{col 70}{space 4} .4695813{col 83}{space 3} .5835058
{txt}Less Trump-Russia scandal#4  {c |}{col 30}{res}{space 2} .5809816{col 42}{space 2} .0251756{col 53}{space 1}   23.08{col 62}{space 3}0.000{col 70}{space 4} .5316383{col 83}{space 3}  .630325
{txt}Less Trump-Russia scandal#5  {c |}{col 30}{res}{space 2} .6758244{col 42}{space 2} .0179332{col 53}{space 1}   37.69{col 62}{space 3}0.000{col 70}{space 4} .6406758{col 83}{space 3} .7109729
{txt}Less Trump-Russia scandal#6  {c |}{col 30}{res}{space 2} .8129859{col 42}{space 2}  .017144{col 53}{space 1}   47.42{col 62}{space 3}0.000{col 70}{space 4} .7793843{col 83}{space 3} .8465876
{txt}Less Trump-Russia scandal#7  {c |}{col 30}{res}{space 2} .8792908{col 42}{space 2} .0200986{col 53}{space 1}   43.75{col 62}{space 3}0.000{col 70}{space 4} .8398983{col 83}{space 3} .9186834
{txt}More Trump-Russia scandal#1  {c |}{col 30}{res}{space 2} .4845599{col 42}{space 2} .0484018{col 53}{space 1}   10.01{col 62}{space 3}0.000{col 70}{space 4} .3896941{col 83}{space 3} .5794258
{txt}More Trump-Russia scandal#2  {c |}{col 30}{res}{space 2} .5094783{col 42}{space 2} .0328505{col 53}{space 1}   15.51{col 62}{space 3}0.000{col 70}{space 4} .4450925{col 83}{space 3} .5738641
{txt}More Trump-Russia scandal#3  {c |}{col 30}{res}{space 2} .5273958{col 42}{space 2} .0277695{col 53}{space 1}   18.99{col 62}{space 3}0.000{col 70}{space 4} .4729687{col 83}{space 3}  .581823
{txt}More Trump-Russia scandal#4  {c |}{col 30}{res}{space 2} .5792787{col 42}{space 2} .0260967{col 53}{space 1}   22.20{col 62}{space 3}0.000{col 70}{space 4} .5281302{col 83}{space 3} .6304273
{txt}More Trump-Russia scandal#5  {c |}{col 30}{res}{space 2} .6705453{col 42}{space 2} .0178905{col 53}{space 1}   37.48{col 62}{space 3}0.000{col 70}{space 4} .6354805{col 83}{space 3}   .70561
{txt}More Trump-Russia scandal#6  {c |}{col 30}{res}{space 2} .8076799{col 42}{space 2} .0173862{col 53}{space 1}   46.46{col 62}{space 3}0.000{col 70}{space 4} .7736034{col 83}{space 3} .8417563
{txt}More Trump-Russia scandal#7  {c |}{col 30}{res}{space 2} .8716914{col 42}{space 2} .0206805{col 53}{space 1}   42.15{col 62}{space 3}0.000{col 70}{space 4} .8311583{col 83}{space 3} .9122245
{txt}{hline 29}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. use "Portal 2 - Russia.dta", clear
{txt}( )

{com}. 
. xtset wave
{txt}{col 8}panel variable:  {res}wave (balanced)
{txt}
{com}. 
. keep if Dem_dum==1
{txt}(2,451 observations deleted)

{com}. 
. xtreg djt_emotions_index russia i.pid_strength i.immigration i.intraparty i.factcheck i.defenseOfJourn
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     1,173
{txt}Group variable: {res}wave                            {txt}Number of groups  = {res}         2

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1134                                         {txt}min = {res}       463
{txt}     between = {res}1.0000                                         {txt}avg = {res}     586.5
{txt}     overall = {res}0.1127                                         {txt}max = {res}       710

                                                {txt}Wald chi2({res}11{txt})     =  {res}   147.52
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                 djt_emotions_index{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      z{col 69}   P>|z|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}{col 37}{res}{space 2} .0070869{col 49}{space 2} .0106855{col 60}{space 1}    0.66{col 69}{space 3}0.507{col 77}{space 4}-.0138562{col 90}{space 3}   .02803
{txt}{space 35} {c |}
{space 23}pid_strength {c |}
{space 33}2  {c |}{col 37}{res}{space 2}-.0729971{col 49}{space 2} .0583353{col 60}{space 1}   -1.25{col 69}{space 3}0.211{col 77}{space 4}-.1873323{col 90}{space 3}  .041338
{txt}{space 33}3  {c |}{col 37}{res}{space 2}-.0701071{col 49}{space 2} .0558708{col 60}{space 1}   -1.25{col 69}{space 3}0.210{col 77}{space 4}-.1796119{col 90}{space 3} .0393977
{txt}{space 33}4  {c |}{col 37}{res}{space 2}-.0762146{col 49}{space 2} .0558977{col 60}{space 1}   -1.36{col 69}{space 3}0.173{col 77}{space 4}-.1857721{col 90}{space 3} .0333429
{txt}{space 33}5  {c |}{col 37}{res}{space 2}-.1222316{col 49}{space 2} .0540342{col 60}{space 1}   -2.26{col 69}{space 3}0.024{col 77}{space 4}-.2281367{col 90}{space 3}-.0163265
{txt}{space 33}6  {c |}{col 37}{res}{space 2}-.1911512{col 49}{space 2} .0538722{col 60}{space 1}   -3.55{col 69}{space 3}0.000{col 77}{space 4}-.2967389{col 90}{space 3}-.0855636
{txt}{space 33}7  {c |}{col 37}{res}{space 2}-.2366966{col 49}{space 2}  .053937{col 60}{space 1}   -4.39{col 69}{space 3}0.000{col 77}{space 4}-.3424111{col 90}{space 3}-.1309821
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}-.0063039{col 49}{space 2} .0107363{col 60}{space 1}   -0.59{col 69}{space 3}0.557{col 77}{space 4}-.0273468{col 90}{space 3} .0147389
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0041291{col 49}{space 2} .0107024{col 60}{space 1}    0.39{col 69}{space 3}0.700{col 77}{space 4}-.0168472{col 90}{space 3} .0251054
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0081166{col 49}{space 2} .0106909{col 60}{space 1}   -0.76{col 69}{space 3}0.448{col 77}{space 4}-.0290703{col 90}{space 3} .0128372
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0064508{col 49}{space 2}  .010699{col 60}{space 1}   -0.60{col 69}{space 3}0.547{col 77}{space 4}-.0274205{col 90}{space 3} .0145188
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3296901{col 49}{space 2} .0540555{col 60}{space 1}    6.10{col 69}{space 3}0.000{col 77}{space 4} .2237433{col 90}{space 3} .4356368
{txt}{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                            sigma_u {c |} {res}         0
                            {txt}sigma_e {c |} {res}  .1821494
                                {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 36}{c BT}{hline 64}

{com}. 
. margins, by(russia pid_strength)
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     1,173
{txt}Model VCE{col 14}: {res}Conventional

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:russia pid_strength}{p_end}
{p2colreset}{...}

{res}{txt}{hline 29}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 30}{c |}{col 42} Delta-method
{col 30}{c |}     Margin{col 42}   Std. Err.{col 54}      z{col 62}   P>|z|{col 70}     [95% Con{col 83}f. Interval]
{hline 29}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}russia#pid_strength {c |}
Less Trump-Russia scandal#1  {c |}{col 30}{res}{space 2} .3227946{col 42}{space 2}  .052739{col 53}{space 1}    6.12{col 62}{space 3}0.000{col 70}{space 4}  .219428{col 83}{space 3} .4261612
{txt}Less Trump-Russia scandal#2  {c |}{col 30}{res}{space 2}  .248288{col 42}{space 2} .0250165{col 53}{space 1}    9.92{col 62}{space 3}0.000{col 70}{space 4} .1992566{col 83}{space 3} .2973195
{txt}Less Trump-Russia scandal#3  {c |}{col 30}{res}{space 2} .2526788{col 42}{space 2} .0187587{col 53}{space 1}   13.47{col 62}{space 3}0.000{col 70}{space 4} .2159123{col 83}{space 3} .2894452
{txt}Less Trump-Russia scandal#4  {c |}{col 30}{res}{space 2} .2447738{col 42}{space 2} .0185768{col 53}{space 1}   13.18{col 62}{space 3}0.000{col 70}{space 4} .2083639{col 83}{space 3} .2811837
{txt}Less Trump-Russia scandal#5  {c |}{col 30}{res}{space 2} .1990099{col 42}{space 2} .0123057{col 53}{space 1}   16.17{col 62}{space 3}0.000{col 70}{space 4} .1748912{col 83}{space 3} .2231286
{txt}Less Trump-Russia scandal#6  {c |}{col 30}{res}{space 2} .1305329{col 42}{space 2} .0113777{col 53}{space 1}   11.47{col 62}{space 3}0.000{col 70}{space 4}  .108233{col 83}{space 3} .1528329
{txt}Less Trump-Russia scandal#7  {c |}{col 30}{res}{space 2} .0845805{col 42}{space 2} .0116199{col 53}{space 1}    7.28{col 62}{space 3}0.000{col 70}{space 4}  .061806{col 83}{space 3} .1073551
{txt}More Trump-Russia scandal#1  {c |}{col 30}{res}{space 2} .3283692{col 42}{space 2}  .053122{col 53}{space 1}    6.18{col 62}{space 3}0.000{col 70}{space 4}  .224252{col 83}{space 3} .4324863
{txt}More Trump-Russia scandal#2  {c |}{col 30}{res}{space 2} .2539474{col 42}{space 2} .0253077{col 53}{space 1}   10.03{col 62}{space 3}0.000{col 70}{space 4} .2043453{col 83}{space 3} .3035495
{txt}More Trump-Russia scandal#3  {c |}{col 30}{res}{space 2} .2579363{col 42}{space 2} .0186347{col 53}{space 1}   13.84{col 62}{space 3}0.000{col 70}{space 4}  .221413{col 83}{space 3} .2944596
{txt}More Trump-Russia scandal#4  {c |}{col 30}{res}{space 2} .2508233{col 42}{space 2} .0183077{col 53}{space 1}   13.70{col 62}{space 3}0.000{col 70}{space 4} .2149409{col 83}{space 3} .2867057
{txt}More Trump-Russia scandal#5  {c |}{col 30}{res}{space 2} .2062676{col 42}{space 2} .0122711{col 53}{space 1}   16.81{col 62}{space 3}0.000{col 70}{space 4} .1822167{col 83}{space 3} .2303186
{txt}More Trump-Russia scandal#6  {c |}{col 30}{res}{space 2} .1372375{col 42}{space 2} .0118025{col 53}{space 1}   11.63{col 62}{space 3}0.000{col 70}{space 4} .1141049{col 83}{space 3} .1603701
{txt}More Trump-Russia scandal#7  {c |}{col 30}{res}{space 2} .0907696{col 42}{space 2} .0117473{col 53}{space 1}    7.73{col 62}{space 3}0.000{col 70}{space 4} .0677454{col 83}{space 3} .1137938
{txt}{hline 29}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. **************************************************
. ** Table A8: Selection into treatment analyses ***
. **************************************************
. set more off
{txt}
{com}. 
. use "Portal 2 - Russia wide.dta", clear
{txt}( )

{com}. 
. gen white1 = 1 if ethnicity1==0
{txt}(409 missing values generated)

{com}. replace white1 = 0 if ethnicity1!=0
{txt}(409 real changes made)

{com}. 
. gen black1 = 1 if ethnicity1==1
{txt}(1,696 missing values generated)

{com}. replace black1 = 0 if ethnicity1!=1
{txt}(1,696 real changes made)

{com}. 
. gen dropout = 1 if prc==.
{txt}(1,187 missing values generated)

{com}. replace dropout = 0 if dropout==.
{txt}(1,187 real changes made)

{com}. 
. gen trump_approver = 1 if trump_job_appr1 >= 6
{txt}(1,530 missing values generated)

{com}. replace trump_approver = 0 if trump_job_appr1 < 6
{txt}(1,530 real changes made)

{com}. 
. gen dem_trump_approver = 1 if trump_job_appr1 >= 6 & Dem_dum1==1
{txt}(1,813 missing values generated)

{com}. replace dem_trump_approver = 0 if trump_job_appr1 < 6
{txt}(1,530 real changes made)

{com}. 
. 
. ** Demographics predicting treatment **
. reg russia Rep_dum1 Dem_dum1 age1 female1 i.education1 white1 black1

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     1,526
{txt}{hline 13}{c +}{hline 34}   F(12, 1513)     = {res}     0.76
{txt}       Model {c |} {res} 2.27800596        12   .18983383   {txt}Prob > F        ={res}    0.6951
{txt}    Residual {c |} {res} 379.221339     1,513  .250641995   {txt}R-squared       ={res}    0.0060
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0019
{txt}       Total {c |} {res} 381.499345     1,525  .250163505   {txt}Root MSE        =   {res} .50064

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      russia{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}Rep_dum1 {c |}{col 14}{res}{space 2} .0062777{col 26}{space 2} .0345514{col 37}{space 1}    0.18{col 46}{space 3}0.856{col 54}{space 4}-.0614959{col 67}{space 3} .0740514
{txt}{space 4}Dem_dum1 {c |}{col 14}{res}{space 2}-.0159329{col 26}{space 2}   .03048{col 37}{space 1}   -0.52{col 46}{space 3}0.601{col 54}{space 4}-.0757204{col 67}{space 3} .0438546
{txt}{space 8}age1 {c |}{col 14}{res}{space 2} .0013079{col 26}{space 2}  .001101{col 37}{space 1}    1.19{col 46}{space 3}0.235{col 54}{space 4}-.0008518{col 67}{space 3} .0034676
{txt}{space 5}female1 {c |}{col 14}{res}{space 2}-.0308599{col 26}{space 2}  .025882{col 37}{space 1}   -1.19{col 46}{space 3}0.233{col 54}{space 4}-.0816284{col 67}{space 3} .0199085
{txt}{space 12} {c |}
{space 2}education1 {c |}
{space 10}2  {c |}{col 14}{res}{space 2}-.4955786{col 26}{space 2}  .517295{col 37}{space 1}   -0.96{col 46}{space 3}0.338{col 54}{space 4} -1.51027{col 67}{space 3} .5191127
{txt}{space 10}3  {c |}{col 14}{res}{space 2}-.6646862{col 26}{space 2} .5153311{col 37}{space 1}   -1.29{col 46}{space 3}0.197{col 54}{space 4}-1.675525{col 67}{space 3}  .346153
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.4552487{col 26}{space 2} .5043848{col 37}{space 1}   -0.90{col 46}{space 3}0.367{col 54}{space 4}-1.444616{col 67}{space 3} .5341188
{txt}{space 10}5  {c |}{col 14}{res}{space 2}-.5011623{col 26}{space 2} .5026419{col 37}{space 1}   -1.00{col 46}{space 3}0.319{col 54}{space 4}-1.487111{col 67}{space 3} .4847864
{txt}{space 10}6  {c |}{col 14}{res}{space 2}-.4718183{col 26}{space 2} .5025112{col 37}{space 1}   -0.94{col 46}{space 3}0.348{col 54}{space 4}-1.457511{col 67}{space 3} .5138741
{txt}{space 10}7  {c |}{col 14}{res}{space 2}-.4953659{col 26}{space 2} .5032073{col 37}{space 1}   -0.98{col 46}{space 3}0.325{col 54}{space 4}-1.482424{col 67}{space 3} .4916919
{txt}{space 12} {c |}
{space 6}white1 {c |}{col 14}{res}{space 2}-.0308398{col 26}{space 2} .0373447{col 37}{space 1}   -0.83{col 46}{space 3}0.409{col 54}{space 4}-.1040926{col 67}{space 3}  .042413
{txt}{space 6}black1 {c |}{col 14}{res}{space 2}-.0142028{col 26}{space 2} .0591504{col 37}{space 1}   -0.24{col 46}{space 3}0.810{col 54}{space 4}-.1302283{col 67}{space 3} .1018227
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .9850827{col 26}{space 2}  .502642{col 37}{space 1}    1.96{col 46}{space 3}0.050{col 54}{space 4}-.0008664{col 67}{space 3} 1.971032
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using "Output/TA8_Russia selection.doc", se dec(3) alpha(0.05) symbol(*)
{txt}{stata `"shellout using `"Output/TA8_Russia selection.doc"'"':Output/TA8_Russia selection.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA8_Russia selection.txt""':seeout}

{com}. 
. reg russia Rep_dum2 Dem_dum2 age1 female1 i.education1 white1 black1

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     1,011
{txt}{hline 13}{c +}{hline 34}   F(11, 999)      = {res}     0.79
{txt}       Model {c |} {res} 2.18607996        11  .198734541   {txt}Prob > F        ={res}    0.6480
{txt}    Residual {c |} {res} 250.561695       999  .250812507   {txt}R-squared       ={res}    0.0086
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0023
{txt}       Total {c |} {res} 252.747774     1,010  .250245321   {txt}Root MSE        =   {res} .50081

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      russia{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}Rep_dum2 {c |}{col 14}{res}{space 2} .0220884{col 26}{space 2} .0424752{col 37}{space 1}    0.52{col 46}{space 3}0.603{col 54}{space 4}-.0612625{col 67}{space 3} .1054393
{txt}{space 4}Dem_dum2 {c |}{col 14}{res}{space 2}-.0408479{col 26}{space 2} .0369511{col 37}{space 1}   -1.11{col 46}{space 3}0.269{col 54}{space 4}-.1133587{col 67}{space 3} .0316628
{txt}{space 8}age1 {c |}{col 14}{res}{space 2} .0012193{col 26}{space 2} .0013222{col 37}{space 1}    0.92{col 46}{space 3}0.357{col 54}{space 4}-.0013752{col 67}{space 3} .0038139
{txt}{space 5}female1 {c |}{col 14}{res}{space 2} .0010782{col 26}{space 2} .0315794{col 37}{space 1}    0.03{col 46}{space 3}0.973{col 54}{space 4}-.0608914{col 67}{space 3} .0630479
{txt}{space 12} {c |}
{space 2}education1 {c |}
{space 10}3  {c |}{col 14}{res}{space 2}-.3013245{col 26}{space 2} .2218981{col 37}{space 1}   -1.36{col 46}{space 3}0.175{col 54}{space 4}-.7367644{col 67}{space 3} .1341154
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.0428942{col 26}{space 2} .1776282{col 37}{space 1}   -0.24{col 46}{space 3}0.809{col 54}{space 4}-.3914614{col 67}{space 3} .3056731
{txt}{space 10}5  {c |}{col 14}{res}{space 2}-.0611584{col 26}{space 2} .1697476{col 37}{space 1}   -0.36{col 46}{space 3}0.719{col 54}{space 4}-.3942613{col 67}{space 3} .2719444
{txt}{space 10}6  {c |}{col 14}{res}{space 2}-.0332292{col 26}{space 2} .1691824{col 37}{space 1}   -0.20{col 46}{space 3}0.844{col 54}{space 4}-.3652229{col 67}{space 3} .2987645
{txt}{space 10}7  {c |}{col 14}{res}{space 2}-.0710192{col 26}{space 2} .1717763{col 37}{space 1}   -0.41{col 46}{space 3}0.679{col 54}{space 4}-.4081029{col 67}{space 3} .2660645
{txt}{space 12} {c |}
{space 6}white1 {c |}{col 14}{res}{space 2}-.0435721{col 26}{space 2}  .048072{col 37}{space 1}   -0.91{col 46}{space 3}0.365{col 54}{space 4}-.1379058{col 67}{space 3} .0507616
{txt}{space 6}black1 {c |}{col 14}{res}{space 2}-.0633183{col 26}{space 2} .0765068{col 37}{space 1}   -0.83{col 46}{space 3}0.408{col 54}{space 4}-.2134509{col 67}{space 3} .0868142
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5561791{col 26}{space 2} .1793602{col 37}{space 1}    3.10{col 46}{space 3}0.002{col 54}{space 4} .2042132{col 67}{space 3}  .908145
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using "Output/TA8_Russia selection.doc", se dec(3) alpha(0.05) symbol(*)
{txt}{stata `"shellout using `"Output/TA8_Russia selection.doc"'"':Output/TA8_Russia selection.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA8_Russia selection.txt""':seeout}

{com}. 
. 
. ***************************************
. ** Table A9: Portal dropout analyses **
. ***************************************
. 
. ** Dropout analyses **
. reg dropout russia Rep_dum1 Dem_dum1 i.immigration i.intraparty i.factcheck i.defenseOfJourn

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     1,724
{txt}{hline 13}{c +}{hline 34}   F(7, 1716)      = {res}     0.67
{txt}       Model {c |} {res} 1.06269638         7  .151813769   {txt}Prob > F        ={res}    0.6950
{txt}    Residual {c |} {res}  387.02315     1,716  .225537966   {txt}R-squared       ={res}    0.0027
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0013
{txt}       Total {c |} {res} 388.085847     1,723  .225238449   {txt}Root MSE        =   {res} .47491

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                            dropout{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      t{col 69}   P>|t|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}{col 37}{res}{space 2}-.0079055{col 49}{space 2}  .022881{col 60}{space 1}   -0.35{col 69}{space 3}0.730{col 77}{space 4}-.0527831{col 90}{space 3}  .036972
{txt}{space 27}Rep_dum1 {c |}{col 37}{res}{space 2} .0363231{col 49}{space 2} .0303559{col 60}{space 1}    1.20{col 69}{space 3}0.232{col 77}{space 4}-.0232152{col 90}{space 3} .0958615
{txt}{space 27}Dem_dum1 {c |}{col 37}{res}{space 2} .0223715{col 49}{space 2} .0267699{col 60}{space 1}    0.84{col 69}{space 3}0.403{col 77}{space 4}-.0301337{col 90}{space 3} .0748766
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0288825{col 49}{space 2}  .022891{col 60}{space 1}    1.26{col 69}{space 3}0.207{col 77}{space 4}-.0160148{col 90}{space 3} .0737798
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0223327{col 49}{space 2} .0228843{col 60}{space 1}   -0.98{col 69}{space 3}0.329{col 77}{space 4}-.0672168{col 90}{space 3} .0225514
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0134101{col 49}{space 2} .0229075{col 60}{space 1}    0.59{col 69}{space 3}0.558{col 77}{space 4}-.0315195{col 90}{space 3} .0583398
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0117141{col 49}{space 2} .0228963{col 60}{space 1}    0.51{col 69}{space 3}0.609{col 77}{space 4}-.0331935{col 90}{space 3} .0566216
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3115853{col 49}{space 2} .0326675{col 60}{space 1}    9.54{col 69}{space 3}0.000{col 77}{space 4} .2475129{col 90}{space 3} .3756576
{txt}{hline 36}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using "Output/TA9_Russia attrition.doc", se dec(3) alpha(0.05) symbol(*)
{txt}{stata `"shellout using `"Output/TA9_Russia attrition.doc"'"':Output/TA9_Russia attrition.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA9_Russia attrition.txt""':seeout}

{com}. 
. reg dropout russia i.immigration i.intraparty i.factcheck i.defenseOfJourn if Rep_dum1==1

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       439
{txt}{hline 13}{c +}{hline 34}   F(5, 433)       = {res}     1.29
{txt}       Model {c |} {res} 1.48294607         5  .296589214   {txt}Prob > F        ={res}    0.2676
{txt}    Residual {c |} {res} 99.6514503       433  .230141918   {txt}R-squared       ={res}    0.0147
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0033
{txt}       Total {c |} {res} 101.134396       438  .230900448   {txt}Root MSE        =   {res} .47973

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                            dropout{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      t{col 69}   P>|t|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}{col 37}{res}{space 2}-.0575446{col 49}{space 2} .0459091{col 60}{space 1}   -1.25{col 69}{space 3}0.211{col 77}{space 4} -.147777{col 90}{space 3} .0326878
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2}  .024234{col 49}{space 2} .0458777{col 60}{space 1}    0.53{col 69}{space 3}0.598{col 77}{space 4}-.0659367{col 90}{space 3} .1144047
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0888823{col 49}{space 2} .0460118{col 60}{space 1}   -1.93{col 69}{space 3}0.054{col 77}{space 4}-.1793165{col 90}{space 3} .0015519
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0088694{col 49}{space 2} .0460337{col 60}{space 1}   -0.19{col 69}{space 3}0.847{col 77}{space 4}-.0993466{col 90}{space 3} .0816079
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2} .0527211{col 49}{space 2} .0460263{col 60}{space 1}    1.15{col 69}{space 3}0.253{col 77}{space 4}-.0377416{col 90}{space 3} .1431838
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3976461{col 49}{space 2} .0546589{col 60}{space 1}    7.28{col 69}{space 3}0.000{col 77}{space 4} .2902164{col 90}{space 3} .5050757
{txt}{hline 36}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using "Output/TA9_Russia attrition.doc", se dec(3) alpha(0.05) symbol(*)
{txt}{stata `"shellout using `"Output/TA9_Russia attrition.doc"'"':Output/TA9_Russia attrition.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA9_Russia attrition.txt""':seeout}

{com}. 
. reg dropout russia i.immigration i.intraparty i.factcheck i.defenseOfJourn if Dem_dum1==1

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       729
{txt}{hline 13}{c +}{hline 34}   F(5, 723)       = {res}     0.86
{txt}       Model {c |} {res} .970073532         5  .194014706   {txt}Prob > F        ={res}    0.5105
{txt}    Residual {c |} {res} 163.918815       723  .226720353   {txt}R-squared       ={res}    0.0059
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0010
{txt}       Total {c |} {res} 164.888889       728  .226495726   {txt}Root MSE        =   {res} .47615

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                            dropout{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      t{col 69}   P>|t|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}{col 37}{res}{space 2} .0539703{col 49}{space 2}  .035318{col 60}{space 1}    1.53{col 69}{space 3}0.127{col 77}{space 4}-.0153677{col 90}{space 3} .1233083
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0171311{col 49}{space 2}  .035332{col 60}{space 1}    0.48{col 69}{space 3}0.628{col 77}{space 4}-.0522345{col 90}{space 3} .0864967
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2} .0213581{col 49}{space 2} .0353132{col 60}{space 1}    0.60{col 69}{space 3}0.545{col 77}{space 4}-.0479706{col 90}{space 3} .0906868
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2}-.0286602{col 49}{space 2} .0353334{col 60}{space 1}   -0.81{col 69}{space 3}0.418{col 77}{space 4}-.0980285{col 90}{space 3} .0407081
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}-.0295338{col 49}{space 2} .0353245{col 60}{space 1}   -0.84{col 69}{space 3}0.403{col 77}{space 4}-.0988846{col 90}{space 3}  .039817
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3293734{col 49}{space 2} .0423078{col 60}{space 1}    7.79{col 69}{space 3}0.000{col 77}{space 4} .2463126{col 90}{space 3} .4124342
{txt}{hline 36}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using "Output/TA9_Russia attrition.doc", se dec(3) alpha(0.05) symbol(*)
{txt}{stata `"shellout using `"Output/TA9_Russia attrition.doc"'"':Output/TA9_Russia attrition.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA9_Russia attrition.txt""':seeout}

{com}. 
. reg dropout russia i.immigration i.intraparty i.factcheck i.defenseOfJourn if trump_approver==1

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       300
{txt}{hline 13}{c +}{hline 34}   F(5, 294)       = {res}     1.26
{txt}       Model {c |} {res}  1.5015168         5  .300303361   {txt}Prob > F        ={res}    0.2831
{txt}    Residual {c |} {res} 70.2951499       294  .239099149   {txt}R-squared       ={res}    0.0209
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0043
{txt}       Total {c |} {res} 71.7966667       299  .240122631   {txt}Root MSE        =   {res} .48898

{txt}{hline 36}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                            dropout{col 37}{c |}      Coef.{col 49}   Std. Err.{col 61}      t{col 69}   P>|t|{col 77}     [95% Con{col 90}f. Interval]
{hline 36}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 29}russia {c |}{col 37}{res}{space 2} -.066826{col 49}{space 2} .0570122{col 60}{space 1}   -1.17{col 69}{space 3}0.242{col 77}{space 4}-.1790298{col 90}{space 3} .0453777
{txt}{space 35} {c |}
{space 24}immigration {c |}
More immigration, less health care  {c |}{col 37}{res}{space 2} .0111114{col 49}{space 2} .0574254{col 60}{space 1}    0.19{col 69}{space 3}0.847{col 77}{space 4}-.1019055{col 90}{space 3} .1241283
{txt}{space 35} {c |}
{space 25}intraparty {c |}
{space 5}More intra-party disagreement  {c |}{col 37}{res}{space 2}-.0739217{col 49}{space 2} .0566683{col 60}{space 1}   -1.30{col 69}{space 3}0.193{col 77}{space 4}-.1854486{col 90}{space 3} .0376052
{txt}{space 35} {c |}
{space 26}factcheck {c |}
{space 16}More fact checking  {c |}{col 37}{res}{space 2} .0802207{col 49}{space 2} .0578443{col 60}{space 1}    1.39{col 69}{space 3}0.167{col 77}{space 4}-.0336206{col 90}{space 3}  .194062
{txt}{space 35} {c |}
{space 21}defenseOfJourn {c |}
{space 8}More defense of journalism  {c |}{col 37}{res}{space 2}  .063991{col 49}{space 2} .0569437{col 60}{space 1}    1.12{col 69}{space 3}0.262{col 77}{space 4}-.0480779{col 90}{space 3} .1760598
{txt}{space 30}_cons {c |}{col 37}{res}{space 2} .3885513{col 49}{space 2} .0707123{col 60}{space 1}    5.49{col 69}{space 3}0.000{col 77}{space 4} .2493848{col 90}{space 3} .5277178
{txt}{hline 36}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. outreg2 using "Output/TA9_Russia attrition.doc", se dec(3) alpha(0.05) symbol(*)
{txt}{stata `"shellout using `"Output/TA9_Russia attrition.doc"'"':Output/TA9_Russia attrition.doc}
{browse `"/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication"' :dir}{com} : {txt}{stata `"seeout using "Output/TA9_Russia attrition.txt""':seeout}

{com}. 
. 
. 
. 
. ******************************
. **** Table A10: Crosstabs ****
. ******************************
. 
. gen msm_news_unbiased_index1 = (msm_news_unbiased1 - 1)/6
{txt}(29 missing values generated)

{com}. gen msm_news_trust_index1 = (msm_news_trust1 - 1)/6
{txt}(32 missing values generated)

{com}. gen msm_news_fair_index1 = (msm_news_fair1 - 1)/6
{txt}(18 missing values generated)

{com}. 
. gen msm_news_unbiased_index2 = (msm_news_unbiased2 - 1)/6
{txt}(653 missing values generated)

{com}. gen msm_news_trust_index2 = (msm_news_trust2 - 1)/6
{txt}(665 missing values generated)

{com}. gen msm_news_fair_index2 = (msm_news_fair2 - 1)/6
{txt}(655 missing values generated)

{com}. 
. 
. gen change_job_appr = trump_job_appr_index2 - trump_job_appr_index1
{txt}(653 missing values generated)

{com}. gen change_overall_index = trump_overall_index2 - trump_overall_index1
{txt}(662 missing values generated)

{com}. gen change_djt_emotions = djt_emotions_index2 - djt_emotions_index1
{txt}(716 missing values generated)

{com}. gen change_djt_pos_emo = djt_pos_emo_index2 - djt_pos_emo_index1
{txt}(683 missing values generated)

{com}. gen change_djt_neg_emo = djt_neg_emo_index2 - djt_neg_emo_index1
{txt}(692 missing values generated)

{com}. gen change_msm_unbiased = msm_news_unbiased_index2 - msm_news_unbiased_index1
{txt}(664 missing values generated)

{com}. gen change_msm_trust = msm_news_trust_index2 - msm_news_trust_index1
{txt}(679 missing values generated)

{com}. gen change_msm_fair = msm_news_fair_index2 - msm_news_fair_index1
{txt}(656 missing values generated)

{com}. 
. 
. 
. ** Trump job approval **
. * Republicans *
. tabstat trump_job_appr_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: trump_job_appr_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .6818182
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .6795775
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .6806569
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat trump_job_appr_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: trump_job_appr_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}  .699495
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .6842723
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .6916058
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_job_appr, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_job_appr
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0176768
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0046948
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0109489
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat trump_job_appr_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: trump_job_appr_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0638441
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0764192
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0698812
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat trump_job_appr_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: trump_job_appr_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0635877
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0702899
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0668058
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_job_appr, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_job_appr
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} 4.21e-10
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}-.0065789
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}-.0031513
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. ** Overall consequences of Trump **
. * Republicans *
. tabstat trump_overall_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: trump_overall_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .7045455
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}  .693662
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .6989051
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat trump_overall_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: trump_overall_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}  .717803
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .6767857
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .6966912
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_overall_index, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_overall_index
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0132576
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}   -.0125
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}        0
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat trump_overall_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: trump_overall_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0705645
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0844156
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0772443
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat trump_overall_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: trump_overall_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0738866
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}  .076087
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0749476
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_overall_index, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_overall_index
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0020325
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}-.0086957
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}-.0031513
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. 
. ** Emotions towards Trump index **
. * Republicans *
. tabstat djt_emotions_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: djt_emotions_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .7298177
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .6998175
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .7143082
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat djt_emotions_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: djt_emotions_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}  .745931
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .7131995
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .7290094
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_djt_emotions, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_djt_emotions
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0126667
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0094697
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0110246
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat djt_emotions_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: djt_emotions_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .1501025
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .1587612
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .1542468
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat djt_emotions_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: djt_emotions_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .1749829
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .1754484
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .1752057
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_djt_emotions, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_djt_emotions
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0232843
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0180492
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0207875
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. 
. ** Positive emotions towards Trump index **
. * Republicans *
. tabstat djt_pos_emo_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: djt_pos_emo_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .6623932
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .6201734
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .6404264
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat djt_pos_emo_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: djt_pos_emo_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .6636752
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .6268116
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .6446932
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_djt_pos_emo, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_djt_pos_emo
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0034453
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0048662
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0041771
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat djt_pos_emo_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: djt_pos_emo_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0612014
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0733431
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0670417
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat djt_pos_emo_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: djt_pos_emo_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0593792
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0644444
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0617938
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_djt_pos_emo, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_djt_pos_emo
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}-.0013661
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}-.0082583
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}-.0046495
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. 
. ** Negative emotions towards Trump index **
. * Republicans *
. tabstat djt_neg_emo_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: djt_neg_emo_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2315246
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .2513382
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .2417293
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat djt_neg_emo_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: djt_neg_emo_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2108527
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .2373523
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .2246914
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_djt_neg_emo, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_djt_neg_emo
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}-.0193122
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}-.0115196
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}-.0152672
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat djt_neg_emo_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: djt_neg_emo_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .7958165
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .7890855
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .7926004
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat djt_neg_emo_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: djt_neg_emo_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .7542857
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .7509461
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .7526723
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_djt_neg_emo, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_djt_neg_emo
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}-.0367627
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}-.0358519
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}-.0363248
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. 
. ** Media variables **
. 
. ** Unbiased **
. * Republicans *
. tabstat msm_news_unbiased_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_unbiased_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .1782946
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .1537559
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .1654367
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat msm_news_unbiased_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_unbiased_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2012821
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .1784038
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .1893382
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_msm_unbiased, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_msm_unbiased
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res}  .023622
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0246479
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0241636
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat msm_news_unbiased_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_unbiased_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .4307796
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .4323144
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .4315164
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat msm_news_unbiased_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_unbiased_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .4564926
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}  .466811
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .4614583
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_msm_unbiased, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_msm_unbiased
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0262097
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0342067
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0300489
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. ** Trust **
. * Republicans *
. tabstat msm_news_trust_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_trust_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2519084
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .2488095
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .2503075
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat msm_news_trust_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_trust_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2608143
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .2553957
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .2580247
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_msm_trust, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_msm_trust
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0089744
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0048662
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0068664
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat msm_news_trust_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_trust_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .5428571
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .5592105
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}   .55074
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat msm_news_trust_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_trust_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .5745257
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .5825959
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .5783898
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_msm_trust, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_msm_trust
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0322359
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0239163
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0282546
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. ** Fair **
. * Republicans *
. tabstat msm_news_fair_index1, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_fair_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2714647
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .2711268
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .2712895
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat msm_news_fair_index2, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_fair_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .2765152
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .2793427
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .2779805
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_msm_fair, by(russia), if Rep_dum2==1 & dropout==0

{txt}Summary for variables: change_msm_fair
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0050505
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res}  .008216
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res}  .006691
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. * Democrats *
. tabstat msm_news_fair_index1, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_fair_index1
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .5341365
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .5673913
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .5501044
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat msm_news_fair_index2, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: msm_news_fair_index2
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .5696118
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .5855263
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .5772187
{txt}{hline 17}{c BT}{hline 10}

{com}. tabstat change_msm_fair, by(russia), if Dem_dum2==1 & dropout==0

{txt}Summary for variables: change_msm_fair
{col 6}by categories of: russia (trump-russia news treatment)

{ralign 16:russia} {...}
{c |}      mean
{hline 17}{c +}{hline 10}
{ralign 16:Less Trump-Russi} {...}
{c |}{...}
 {res} .0354752
{txt}{ralign 16:More Trump-Russi} {...}
{c |}{...}
 {res} .0161527
{txt}{hline 17}{c +}{hline 10}
{ralign 16:Total} {...}
{c |}{...}
 {res} .0262605
{txt}{hline 17}{c BT}{hline 10}

{com}. 
. 
. 
. 
. 
. ****************************************************
. *** Figure A1: Descriptive statistics for clicks ***
. ****************************************************
. 
. use "Portal 2 - Russia.dta", clear
{txt}( )

{com}. 
. xtset wave
{txt}{col 8}panel variable:  {res}wave (balanced)
{txt}
{com}. 
. gen perc_russia_clicks = russiaClicks / russiaHits
{txt}(746 missing values generated)

{com}. 
. tabstat russiaClicks, by(PID), if russia==1 & prc!=.

{txt}Summary for variables: russiaClicks
{col 6}by categories of: PID (three-level PID, other recoded as missing)

{ralign 11:PID} {...}
{c |}      mean
{hline 12}{c +}{hline 10}
{ralign 11:Republican} {...}
{c |}{...}
 {res} 1.456446
{txt}{ralign 11:Democrat} {...}
{c |}{...}
 {res}  1.83151
{txt}{ralign 11:Independent} {...}
{c |}{...}
 {res} 1.601542
{txt}{hline 12}{c +}{hline 10}
{ralign 11:Total} {...}
{c |}{...}
 {res} 1.657546
{txt}{hline 12}{c BT}{hline 10}

{com}. tabstat perc_russia_clicks, by(PID), if russia==1 & prc!=.

{txt}Summary for variables: perc_russia_clicks
{col 6}by categories of: PID (three-level PID, other recoded as missing)

{ralign 11:PID} {...}
{c |}      mean
{hline 12}{c +}{hline 10}
{ralign 11:Republican} {...}
{c |}{...}
 {res} .0581542
{txt}{ralign 11:Democrat} {...}
{c |}{...}
 {res} .0826717
{txt}{ralign 11:Independent} {...}
{c |}{...}
 {res} .0760089
{txt}{hline 12}{c +}{hline 10}
{ralign 11:Total} {...}
{c |}{...}
 {res} .0741701
{txt}{hline 12}{c BT}{hline 10}

{com}. 
. kdensity perc_russia_clicks, graphregion(color(white)) bgcolor(white) title("Distribution of clicks on Trump-Russia stories") /*
>         */ xtitle("Clicks on Trump-Russia stories shown")
{res}{txt}
{com}.         
. graph save "Figure A1 - Russia clicks distribution.gph", replace
{txt}(note: file Figure A1 - Russia clicks distribution.gph not found)
{res}{txt}(file Figure A1 - Russia clicks distribution.gph saved)

{com}. graph export "Figure A1 - Russia clicks distribution.png", replace
{txt}(file Figure A1 - Russia clicks distribution.png written in PNG format)

{com}. 
. 
. 
. 
. *************************************************
. *** Figure A2: Plots of demographic variables ***
. *************************************************
. 
. use "Portal 2 - Russia.dta", clear
{txt}( )

{com}. 
. graph set window fontface "Times"
{txt}
{com}. 
. keep if wave==2
{txt}(1,830 observations deleted)

{com}. 
. 
. *** Label variables ***
. label var age "Age"
{txt}
{com}. label value age age
{txt}
{com}. 
. label var ethnicity "Race/Ethnicity"
{txt}
{com}. label define ethnicity 0"Caucasian" 1"African American" 2"Pacific Islander" 3"Asian" 4"Hispanic" 5"Other"
{txt}
{com}. label value ethnicity ethnicity
{txt}
{com}. 
. label var female "Gender"
{txt}
{com}. label define female 0"Male" 1"Female" 2"Other
{txt}
{com}. label value female female
{txt}
{com}. 
. label var education "Education"
{txt}
{com}. label define education 0"None" 1"Eighth grade or below" 2"Some high school" 3"GED" 4"High school graduate" 5"Some college" 6"Four year graduate degree" 7"Graduate or professional degree"
{txt}
{com}. label value education education
{txt}
{com}. 
. 
. ** Create categorical plots **
. hist age, graphregion(color(white)) scheme(s2mono)
{txt}(bin={res}30{txt}, start={res}18{txt}, width={res}2.6666667{txt})
{res}{txt}
{com}. graph save "FA2_Age.gph", replace
{txt}(note: file FA2_Age.gph not found)
{res}{txt}(file FA2_Age.gph saved)

{com}. 
. catplot ethnicity, graphregion(color(white)) scheme(s2mono) ytitle("")
{res}{txt}
{com}. graph save "FA2_Ethnicity.gph", replace
{txt}(note: file FA2_Ethnicity.gph not found)
{res}{txt}(file FA2_Ethnicity.gph saved)

{com}. 
. catplot female, graphregion(color(white)) scheme(s2mono) ytitle("")
{res}{txt}
{com}. graph save "FA2_Gender.gph", replace
{txt}(note: file FA2_Gender.gph not found)
{res}{txt}(file FA2_Gender.gph saved)

{com}. 
. catplot education, graphregion(color(white)) scheme(s2mono) ytitle("")
{res}{txt}
{com}. graph save "FA2_Education.gph", replace
{txt}(note: file FA2_Education.gph not found)
{res}{txt}(file FA2_Education.gph saved)

{com}. 
. 
. graph combine "FA2_Age.gph" "FA2_Gender.gph" "FA2_Ethnicity.gph" "FA2_Education.gph", graphregion(color(white)) col(1) xsize(4) ysize(9)
{res}{txt}
{com}. graph save "Figure A2 - Demographics combined.gph", replace
{txt}(note: file Figure A2 - Demographics combined.gph not found)
{res}{txt}(file Figure A2 - Demographics combined.gph saved)

{com}. graph export "Figure A2 - Demographics combined.png", replace
{txt}(file Figure A2 - Demographics combined.png written in PNG format)

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/jdarr/Dropbox/Research/PCRG Portal/Portal 2/Trump Russia/Replication/TrumpRussia_PoP_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}27 Feb 2019, 13:53:50
{txt}{.-}
{smcl}
{txt}{sf}{ul off}